From bbe7c8206903ddaa84ca3ee3308c45d2d226f81c Mon Sep 17 00:00:00 2001 From: Nipun Garg Date: Fri, 21 Jun 2019 19:45:56 +0530 Subject: [PATCH] HDB: Add onEvenTile() --- engines/hdb/ai.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engines/hdb/ai.h b/engines/hdb/ai.h index b6b9b4a6120..3c60936154f 100644 --- a/engines/hdb/ai.h +++ b/engines/hdb/ai.h @@ -543,6 +543,8 @@ struct CineCommand { start(0), end(0), delay(0), speed(0), title(NULL), string(NULL), id(NULL), e(NULL) {} }; +#define onEvenTile(x, y) ( !(x & 31) && !(y & 31) ) + class AI { public: AI();