aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNipun Garg2019-07-17 16:27:13 +0530
committerEugene Sandulenko2019-09-03 17:17:22 +0200
commitac61b7ef9ccf58a7b56dcad1aa4e28fed1b07534 (patch)
tree31d59eaa55ba9351342ae2419565bb3dfb3d256c
parentd80023c737d68495bc40233af7466a81fafd1989 (diff)
downloadscummvm-rg350-ac61b7ef9ccf58a7b56dcad1aa4e28fed1b07534.tar.gz
scummvm-rg350-ac61b7ef9ccf58a7b56dcad1aa4e28fed1b07534.tar.bz2
scummvm-rg350-ac61b7ef9ccf58a7b56dcad1aa4e28fed1b07534.zip
HDB: Fix warning
-rw-r--r--engines/hdb/ai-funcs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hdb/ai-funcs.cpp b/engines/hdb/ai-funcs.cpp
index 761be53680..25fd043d5b 100644
--- a/engines/hdb/ai-funcs.cpp
+++ b/engines/hdb/ai-funcs.cpp
@@ -1883,7 +1883,7 @@ void AI::moveEnts() {
if (!e->stunnedWait)
e->aiAction(e);
else {
- if (e->stunnedWait < g_hdb->getTimeSlice())
+ if (e->stunnedWait < (int32)g_hdb->getTimeSlice())
e->stunnedWait = 0;
}
}