diff options
-rw-r--r-- | engines/hdb/ai.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/hdb/ai.h b/engines/hdb/ai.h index 3bbb2d7241..aff84760bc 100644 --- a/engines/hdb/ai.h +++ b/engines/hdb/ai.h @@ -634,7 +634,8 @@ public: // Player Functions AIEntity *getPlayer() { - warning("STUB: AI::getPlayer: dummyplayer not supported"); + if (!_player) + return &_dummyPlayer; return _player; } |