aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2019-07-17 13:59:25 +0200
committerEugene Sandulenko2019-09-03 17:17:22 +0200
commit5cf1f6a2f9834c8f52bd8e376140ef9882654324 (patch)
treecedcc6da99e2ef9d4777f55dbc6ac66c8546087d
parent74931e720508c978bc6d035466f74c6125ce6762 (diff)
downloadscummvm-rg350-5cf1f6a2f9834c8f52bd8e376140ef9882654324.tar.gz
scummvm-rg350-5cf1f6a2f9834c8f52bd8e376140ef9882654324.tar.bz2
scummvm-rg350-5cf1f6a2f9834c8f52bd8e376140ef9882654324.zip
HDB: Fix switches
-rw-r--r--engines/hdb/ai-init.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hdb/ai-init.cpp b/engines/hdb/ai-init.cpp
index 52b04ce3c2..95d4359f73 100644
--- a/engines/hdb/ai-init.cpp
+++ b/engines/hdb/ai-init.cpp
@@ -979,8 +979,8 @@ bool AI::init() {
_blockpole = g_hdb->_gfx->getTileIndex("t32_blockpole_1");
_useTeleporter = g_hdb->_gfx->getTileIndex("anim_t32_teleporter1");
- _useSwitchOff = g_hdb->_gfx->getTileIndex("t32_temple_touchplate_on");
- _useSwitchOff = g_hdb->_gfx->getTileIndex("t32_temple_touchplate_off");
+ _templeTouchpOn = g_hdb->_gfx->getTileIndex("t32_temple_touchplate_on");
+ _templeTouchpOff = g_hdb->_gfx->getTileIndex("t32_temple_touchplate_off");
_kcHolderWhiteOff = g_hdb->_gfx->getTileIndex("anim_t32_kcholder_white_off1");
_kcHolderWhiteOn = g_hdb->_gfx->getTileIndex("t32_kcholder_white_on");