diff options
-rw-r--r-- | engines/hdb/ai-init.cpp | 10 | ||||
-rw-r--r-- | engines/hdb/hdb.cpp | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/engines/hdb/ai-init.cpp b/engines/hdb/ai-init.cpp index e5f47bab82..52b04ce3c2 100644 --- a/engines/hdb/ai-init.cpp +++ b/engines/hdb/ai-init.cpp @@ -919,14 +919,14 @@ AI::~AI() { bool AI::init() { - _debugQMark = g_hdb->_gfx->loadTile("icon_question_mark"); + _debugQMark = g_hdb->_gfx->loadIcon("icon_question_mark"); // Clear Waypoint list and load Waypoint graphics _numWaypoints = 0; - _waypointGfx[0] = g_hdb->_gfx->loadTile("icon_waypoint_select1"); - _waypointGfx[1] = g_hdb->_gfx->loadTile("icon_waypoint_select2"); - _waypointGfx[2] = g_hdb->_gfx->loadTile("icon_waypoint_select3"); - _waypointGfx[3] = g_hdb->_gfx->loadTile("icon_waypoint_select4"); + _waypointGfx[0] = g_hdb->_gfx->loadIcon("icon_waypoint_select1"); + _waypointGfx[1] = g_hdb->_gfx->loadIcon("icon_waypoint_select2"); + _waypointGfx[2] = g_hdb->_gfx->loadIcon("icon_waypoint_select3"); + _waypointGfx[3] = g_hdb->_gfx->loadIcon("icon_waypoint_select4"); // Setup Vars to reference SPECIAL Map Tiles _useSwitchOff = g_hdb->_gfx->getTileIndex("anim_t32_switch_off01"); diff --git a/engines/hdb/hdb.cpp b/engines/hdb/hdb.cpp index 3f85cf68c2..27c4b33020 100644 --- a/engines/hdb/hdb.cpp +++ b/engines/hdb/hdb.cpp @@ -118,7 +118,7 @@ bool HDBGame::init() { _menu->init(); - _debugLogo = _gfx->loadTile("icon_debug_logo"); + _debugLogo = _gfx->loadIcon("icon_debug_logo"); _progressGfx = _gfx->loadPic(PIC_LOADBAR); _progressMarkGfx = _gfx->loadPic(PIC_LOADSTAR); _logoGfx = NULL; |