aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/hotspots.cpp
diff options
context:
space:
mode:
authorSven Hesse2013-04-19 11:40:18 +0200
committerSven Hesse2013-04-19 11:40:18 +0200
commit4a59c02a8f9e8d7a2f4680753777ab46a4e81def (patch)
tree27c187305c0865802e0dff8171a78fe3f20eab15 /engines/gob/hotspots.cpp
parent907f6506205e2282a3eabfd8d504a593190b1426 (diff)
downloadscummvm-rg350-4a59c02a8f9e8d7a2f4680753777ab46a4e81def.tar.gz
scummvm-rg350-4a59c02a8f9e8d7a2f4680753777ab46a4e81def.tar.bz2
scummvm-rg350-4a59c02a8f9e8d7a2f4680753777ab46a4e81def.zip
GOB: Add a call to Inter::animPalette() in the hotspot checker
The original has the call there too, as confirmed using the disasm of the gob3 binary. This fixes bug #3611208.
Diffstat (limited to 'engines/gob/hotspots.cpp')
-rw-r--r--engines/gob/hotspots.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/gob/hotspots.cpp b/engines/gob/hotspots.cpp
index 11b6150626..cd00cd13d7 100644
--- a/engines/gob/hotspots.cpp
+++ b/engines/gob/hotspots.cpp
@@ -1995,6 +1995,7 @@ bool Hotspots::leaveNthPlain(uint16 n, uint16 startIndex, int16 timeVal, const u
// Call the leave and time it
startTime = _vm->_util->getTimeKey();
call(spot.funcLeave);
+ _vm->_inter->animPalette();
callTime = _vm->_util->getTimeKey() - startTime;
// Remove the time it took from the time we have available