aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/ai-bots.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2019-07-24 11:52:17 +0200
committerEugene Sandulenko2019-09-03 17:17:27 +0200
commitb845e70102afff09e2377e37ea5831380549bb0d (patch)
tree7b89cd58cbc78680618f19288f381e0dd1ea5077 /engines/hdb/ai-bots.cpp
parent0c8e483d091a40d0011934213d2e8087a52eb810 (diff)
downloadscummvm-rg350-b845e70102afff09e2377e37ea5831380549bb0d.tar.gz
scummvm-rg350-b845e70102afff09e2377e37ea5831380549bb0d.tar.bz2
scummvm-rg350-b845e70102afff09e2377e37ea5831380549bb0d.zip
HDB: Reduce header dependency
Diffstat (limited to 'engines/hdb/ai-bots.cpp')
-rw-r--r--engines/hdb/ai-bots.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/hdb/ai-bots.cpp b/engines/hdb/ai-bots.cpp
index e9cb229339..b9e761b3c3 100644
--- a/engines/hdb/ai-bots.cpp
+++ b/engines/hdb/ai-bots.cpp
@@ -21,6 +21,7 @@
*/
#include "hdb/hdb.h"
+#include "hdb/mpc.h"
namespace HDB {
@@ -2546,7 +2547,7 @@ void aiGatePuddleInit2(AIEntity *e) {
void aiGatePuddleAction(AIEntity *e) {
static const int xva[5] = {9, 0, 0,-1, 1};
static const int yva[5] = {9,-1, 1, 0, 0};
-
+
AIEntity *p = g_hdb->_ai->getPlayer();
if (e->goalX) {