SCI: added special case for iceman when plotting course inside isSaneNodePointer
svn-id: r50960
This commit is contained in:
parent
7ac5c3ef4f
commit
cb4072f978
1 changed files with 6 additions and 1 deletions
|
@ -37,7 +37,12 @@ static bool isSaneNodePointer(SegManager *segMan, reg_t addr) {
|
||||||
Node *node = segMan->lookupNode(addr);
|
Node *node = segMan->lookupNode(addr);
|
||||||
|
|
||||||
if (!node) {
|
if (!node) {
|
||||||
error("isSaneNodePointer: Node at %04x:%04x wasn't found", PRINT_REG(addr));
|
if ((g_sci->getGameId() == GID_ICEMAN) && (g_sci->getEngineState()->currentRoomNumber() == 40)) {
|
||||||
|
// ICEMAN: when plotting course, unDrawLast is called by startPlot::changeState
|
||||||
|
// there is no previous entry so we get 0 in here
|
||||||
|
} else {
|
||||||
|
error("isSaneNodePointer: Node at %04x:%04x wasn't found", PRINT_REG(addr));
|
||||||
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue