diff options
-rw-r--r-- | engines/hdb/ai-funcs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hdb/ai-funcs.cpp b/engines/hdb/ai-funcs.cpp index 77485f7bf0..e383670e13 100644 --- a/engines/hdb/ai-funcs.cpp +++ b/engines/hdb/ai-funcs.cpp @@ -1248,7 +1248,7 @@ void AI::animateEntity(AIEntity *e) { // If it is floating downstream, keep moving it if (flags & (kFlagPushRight | kFlagPushLeft | kFlagPushUp | kFlagPushDown)) { int xv = 0, yv = 0; - AIState state; + AIState state = STATE_NONE; if (flags & kFlagPushRight) { e->dir = DIR_RIGHT; |