aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/hdb/ai.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/hdb/ai.h b/engines/hdb/ai.h
index 51b8657d6f..ec8c200244 100644
--- a/engines/hdb/ai.h
+++ b/engines/hdb/ai.h
@@ -647,6 +647,7 @@ struct CineBlit {
};
#define onEvenTile(x, y) ( !(x & 31) && !(y & 31) )
+#define hitPlayer(x, y) ( e->onScreen && g_hdb->_ai->checkPlayerCollision( x, y, 4 ) && !g_hdb->_ai->playerDead() )
class AI {
public: