aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/ai-bots.cpp
diff options
context:
space:
mode:
authorNipun Garg2019-08-19 13:41:58 +0530
committerEugene Sandulenko2019-09-03 17:17:34 +0200
commit0ca9c2fbccab01e06f9fa637a50dfae8b34599b7 (patch)
treec89dfee9220d4cd02f0ddc4188a760fc326b049f /engines/hdb/ai-bots.cpp
parent1e25bf5fbe79e025a59fe6ad902c8c21546f524b (diff)
downloadscummvm-rg350-0ca9c2fbccab01e06f9fa637a50dfae8b34599b7.tar.gz
scummvm-rg350-0ca9c2fbccab01e06f9fa637a50dfae8b34599b7.tar.bz2
scummvm-rg350-0ca9c2fbccab01e06f9fa637a50dfae8b34599b7.zip
HDB: Remove unnecessary warnings
Diffstat (limited to 'engines/hdb/ai-bots.cpp')
-rw-r--r--engines/hdb/ai-bots.cpp12
1 files changed, 3 insertions, 9 deletions
diff --git a/engines/hdb/ai-bots.cpp b/engines/hdb/ai-bots.cpp
index 8e06e94b20..33a15c08dd 100644
--- a/engines/hdb/ai-bots.cpp
+++ b/engines/hdb/ai-bots.cpp
@@ -114,7 +114,6 @@ void aiOmniBotAction(AIEntity *e) {
}
break;
case DIR_NONE:
- warning("aiOmniBotAction: DIR_NONE found");
break;
}
@@ -450,7 +449,7 @@ void aiRightBotFindGoal(AIEntity *e) {
case DIR_LEFT: e->dir = DIR_UP; break;
case DIR_RIGHT: e->dir = DIR_DOWN; break;
case DIR_NONE:
- warning("aiRightBotFindGoal: DIR_NONE found");
+ break;
}
} else if (!bg && !e1) {
switch (e->dir) {
@@ -459,7 +458,7 @@ void aiRightBotFindGoal(AIEntity *e) {
case DIR_LEFT: e->dir = DIR_DOWN; break;
case DIR_RIGHT: e->dir = DIR_UP; break;
case DIR_NONE:
- warning("aiRightBotFindGoal: DIR_NONE found");
+ break;
}
} else {
switch (e->dir) {
@@ -484,7 +483,7 @@ void aiRightBotFindGoal(AIEntity *e) {
xv = -1;
break;
case DIR_NONE:
- warning("aiRightBotFindGoal: DIR_NONE found");
+ break;
}
sx += xv;
sy += yv;
@@ -507,7 +506,6 @@ void aiRightBotFindGoal(AIEntity *e) {
e->state = STATE_MOVERIGHT;
break;
case DIR_NONE:
- warning("aiRightBotFindGoal: DIR_NONE found");
break;
}
@@ -692,7 +690,6 @@ void aiRailRiderAction(AIEntity *e) {
case DIR_LEFT: e->xVel = -1; e->yVel = 0; break;
case DIR_RIGHT: e->xVel = 1; e->yVel = 0; break;
case DIR_NONE:
- warning("aiRailRiderAction: DIR_NONE found");
break;
}
}
@@ -824,7 +821,6 @@ void aiRailRiderOnAction(AIEntity *e) {
g_hdb->_ai->setEntityGoal(p, e->tileX, e->tileY + 1);
break;
case DIR_NONE:
- warning("aiRailRiderOnAction: DIR_NOW found");
break;
}
g_hdb->_ai->setPlayerInvisible(false);
@@ -1135,7 +1131,6 @@ void aiFourFirerAction(AIEntity *e) {
}
break;
case DIR_NONE:
- warning("aiFourFirerAction: DIR_NONE found");
break;
}
@@ -1246,7 +1241,6 @@ void aiDeadEyeAction(AIEntity *e) {
nuts = true;
break;
case DIR_NONE:
- warning("aiDeadEyeAction: DIR_NONE found");
break;
}