diff options
author | Eugene Sandulenko | 2019-06-27 10:27:43 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:02 +0200 |
commit | 72173c26d0f43614cdbfbe6aaf0d8836073646db (patch) | |
tree | 58e076723b52b11eabe5ec9e61bea21eb8f2e76d /engines/hdb | |
parent | ef25f372589bab2dfffc3176c59aaac66ab5c952 (diff) | |
download | scummvm-rg350-72173c26d0f43614cdbfbe6aaf0d8836073646db.tar.gz scummvm-rg350-72173c26d0f43614cdbfbe6aaf0d8836073646db.tar.bz2 scummvm-rg350-72173c26d0f43614cdbfbe6aaf0d8836073646db.zip |
HDB: Fix warnings
Diffstat (limited to 'engines/hdb')
-rw-r--r-- | engines/hdb/ai-bots.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/hdb/ai-bots.cpp b/engines/hdb/ai-bots.cpp index 481b661c05..7018c19291 100644 --- a/engines/hdb/ai-bots.cpp +++ b/engines/hdb/ai-bots.cpp @@ -1053,11 +1053,12 @@ void aiDeadEyeWalkInPlace(AIEntity *e) { s = state[dir]; e->dir = dir; e->state = s; - if (e->onScreen) + if (e->onScreen) { if (e->sequence == 50) warning("STUB: aiDeadEyeWalkInPlace: Play SND_DEADEYE_AMB01"); else if (e->sequence == 10) warning("STUB: aiDeadEyeWalkInPlace: Play SND_DEADEYE_AMB02"); + } break; case 0: e->sequence = 64; @@ -1144,11 +1145,12 @@ void aiDeadEyeAction(AIEntity *e) { e->dir = dir; e->state = s; - if (e->onScreen) + if (e->onScreen) { if (e->sequence == 50) warning("STUB: aiDeadEyeAction: Play SND_DEADEYE_AMB01"); else if (e->sequence == 10) warning("STUB: aiDeadEyeAction: Play SND_DEADEYE_AMB01"); + } break; case 0: // Pick a random direction and random number of tiles in that direction |