aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/timer_eob.cpp
diff options
context:
space:
mode:
authorathrxx2011-08-15 01:43:26 +0200
committerJohannes Schickel2011-12-26 16:18:14 +0100
commitb288889c978990423b08dad8f838d891610f36b5 (patch)
tree888ac176612b06a7389e6b8f3f623d472cf10cdd /engines/kyra/timer_eob.cpp
parent0d54aff6324b1f6c739df89ab072328cc5402873 (diff)
downloadscummvm-rg350-b288889c978990423b08dad8f838d891610f36b5.tar.gz
scummvm-rg350-b288889c978990423b08dad8f838d891610f36b5.tar.bz2
scummvm-rg350-b288889c978990423b08dad8f838d891610f36b5.zip
KYRA: (EOB) - implement wall of force spell
Diffstat (limited to 'engines/kyra/timer_eob.cpp')
-rw-r--r--engines/kyra/timer_eob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/timer_eob.cpp b/engines/kyra/timer_eob.cpp
index 20a05f9ee6..61fa554193 100644
--- a/engines/kyra/timer_eob.cpp
+++ b/engines/kyra/timer_eob.cpp
@@ -371,7 +371,7 @@ void EobCoreEngine::timerUpdateTeleporters(int timerNum) {
_teleporterPulse ^= 1;
for (int i = 0; i < 18; i++) {
uint8 w = _visibleBlocks[i]->walls[_sceneDrawVarDown];
- if ((_flags.gameID == GI_EOB1 && w == 52) || (_flags.gameID == GI_EOB2 && (w == 44 || w == 74))) {
+ if ((w == _teleporterWallId) || (_flags.gameID == GI_EOB2 && w == 74)) {
_sceneUpdateRequired = true;
return;
}