From b845e70102afff09e2377e37ea5831380549bb0d Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 24 Jul 2019 11:52:17 +0200 Subject: HDB: Reduce header dependency --- engines/hdb/ai-bots.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines/hdb/ai-bots.cpp') 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) { -- cgit v1.2.3