aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorNipun Garg2019-06-28 04:01:00 +0530
committerEugene Sandulenko2019-09-03 17:17:03 +0200
commit763cc24c4c896880899994beb9f5d7f1392ccdce (patch)
tree40c1c3bd3468106aa630d3563a35802aa27893bf /engines
parentf74437e503e1e1ff6ad8dc1fdbe2a3c5d18d6a22 (diff)
downloadscummvm-rg350-763cc24c4c896880899994beb9f5d7f1392ccdce.tar.gz
scummvm-rg350-763cc24c4c896880899994beb9f5d7f1392ccdce.tar.bz2
scummvm-rg350-763cc24c4c896880899994beb9f5d7f1392ccdce.zip
HDB: Fix warnings
Diffstat (limited to 'engines')
-rw-r--r--engines/hdb/ai-player.cpp2
1 files changed, 1 insertions, 1 deletions
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) {