LURE: Workaround for bug #3047234 in English EGA version
svn-id: r52378
This commit is contained in:
parent
4368d3c574
commit
5e66329117
1 changed files with 5 additions and 0 deletions
|
@ -1297,6 +1297,11 @@ bool HotspotScript::execute(Hotspot *h) {
|
|||
|
||||
default:
|
||||
// Set the animation frame number
|
||||
|
||||
// WORKAROUND: In Lure English EGA, the apparatus in room #30 can be set with an invalid frame number
|
||||
if ((h->hotspotId() == 1059) && (opcode >= h->numFrames()))
|
||||
opcode = h->numFrames() - 1;
|
||||
|
||||
debugC(ERROR_DETAILED, kLureDebugScripts, "SET FRAME NUMBER = %d", opcode);
|
||||
|
||||
h->setFrameNumber(opcode);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue