diff options
author | Nipun Garg | 2019-06-22 06:14:03 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:16:55 +0200 |
commit | dd6f33592500d35038ecd930cf7a34b292fa6edc (patch) | |
tree | 5b101b35717ca6fcfb4feefc1093d1f8c3e1d3a5 | |
parent | 7c823019be7d9eaf1b3c1692e85b993d05e31720 (diff) | |
download | scummvm-rg350-dd6f33592500d35038ecd930cf7a34b292fa6edc.tar.gz scummvm-rg350-dd6f33592500d35038ecd930cf7a34b292fa6edc.tar.bz2 scummvm-rg350-dd6f33592500d35038ecd930cf7a34b292fa6edc.zip |
HDB: Remove _dummyPlayer stub from getPlayer()
-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; } |