From 5cf1f6a2f9834c8f52bd8e376140ef9882654324 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 17 Jul 2019 13:59:25 +0200 Subject: HDB: Fix switches --- engines/hdb/ai-init.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines') 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"); -- cgit v1.2.3