RCS file: /cvsroot/scummvm/scummvm/scumm/script.cpp,v
retrieving revision 1.97
diff -u -r1.97 script.cpp
|
|
|
84 | 84 | if (!object) |
85 | 85 | return; |
86 | 86 | |
| 87 | if (_features & GF_AFTER_V2 && entry == 250) { |
| 88 | // The code also sets the upper two bits in the script |
| 89 | // object type, but I (MadMoose) can't see where we use that. |
| 90 | entry = 253; |
| 91 | } |
| 92 | |
87 | 93 | if (!recursive) |
88 | 94 | stopObjectScript(object); |
89 | 95 | |
… |
… |
|
98 | 104 | slot = getScriptSlot(); |
99 | 105 | |
100 | 106 | offs = getVerbEntrypoint(object, entry); |
101 | | if (offs == 0) |
| 107 | if (offs == 0) { |
| 108 | warning("Code for entry %d, object %d in room %d not found", entry, object, _roomResource); |
102 | 109 | return; |
| 110 | } |
103 | 111 | |
104 | 112 | s = &vm.slot[slot]; |
105 | 113 | s->number = object; |