mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-04 09:56:30 +00:00
SCI: added special case for iceman when plotting course inside isSaneNodePointer
svn-id: r50960
This commit is contained in:
parent
7ac5c3ef4f
commit
cb4072f978
@ -37,7 +37,12 @@ static bool isSaneNodePointer(SegManager *segMan, reg_t addr) {
|
||||
Node *node = segMan->lookupNode(addr);
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user