aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/ai-init.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hdb/ai-init.cpp')
-rw-r--r--engines/hdb/ai-init.cpp10
1 files changed, 5 insertions, 5 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");