From 763cc24c4c896880899994beb9f5d7f1392ccdce Mon Sep 17 00:00:00 2001 From: Nipun Garg Date: Fri, 28 Jun 2019 04:01:00 +0530 Subject: HDB: Fix warnings --- engines/hdb/ai-player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/hdb/ai-player.cpp b/engines/hdb/ai-player.cpp index 63af8f4c15..8078f71aa0 100644 --- a/engines/hdb/ai-player.cpp +++ b/engines/hdb/ai-player.cpp @@ -130,7 +130,7 @@ void aiPlayerInit2(AIEntity *e) { void aiPlayerAction(AIEntity *e) { AIState stand[5] = {STATE_NONE, STATE_STANDUP, STATE_STANDDOWN, STATE_STANDLEFT, STATE_STANDRIGHT}; int xvAhead[5] = {9, 0, 0, -1, 1}, yvAhead[5] = {9, -1, 1, 0, 0}; - AIEntity *hit; + AIEntity *hit = NULL; // Draw the STUN lightning if it exists if (e->sequence) { -- cgit v1.2.3