diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hdb/ai-waypoint.cpp | 2 | ||||
-rw-r--r-- | engines/hdb/ai.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/hdb/ai-waypoint.cpp b/engines/hdb/ai-waypoint.cpp index 88a0c44d13..3887b972b8 100644 --- a/engines/hdb/ai-waypoint.cpp +++ b/engines/hdb/ai-waypoint.cpp @@ -29,7 +29,7 @@ void AI::clearWaypoints() { _numWaypoints = 0; } -void *AI::getStandFrameDir(AIEntity *e) { +Tile *AI::getStandFrameDir(AIEntity *e) { switch (e->dir) { case DIR_DOWN: if (e->standdownFrames) diff --git a/engines/hdb/ai.h b/engines/hdb/ai.h index 6994a81729..ad5e43ca2f 100644 --- a/engines/hdb/ai.h +++ b/engines/hdb/ai.h @@ -341,7 +341,7 @@ struct AIEntity { AIState state; AIDir dir; - void *draw; // Current frame to draw + Tile *draw; // Current frame to draw void (*aiInit)(AIEntity *e); // func ptr to init routine void (*aiInit2)(AIEntity *e); // func ptr to init2 routine - graphic init only (this for LoadGame functionality) @@ -649,7 +649,7 @@ public: // Waypoint & Movement Functions void lookAtXY(int x, int y); void clearWaypoints(); - void *getStandFrameDir(AIEntity *e); + Tile *getStandFrameDir(AIEntity *e); // Inventory Functions bool addToInventory(AIEntity *e); |