aboutsummaryrefslogtreecommitdiff
path: root/sword1
diff options
context:
space:
mode:
authorMax Horn2003-12-22 23:45:55 +0000
committerMax Horn2003-12-22 23:45:55 +0000
commit13d057101893c34911701e6dfd538c7ca4f15dc4 (patch)
treef6b32e822f32268c2a4e9222735b78a543b38f76 /sword1
parente9ff3a114614eff35f5bfe0a8bb59a11a9df5e36 (diff)
downloadscummvm-rg350-13d057101893c34911701e6dfd538c7ca4f15dc4.tar.gz
scummvm-rg350-13d057101893c34911701e6dfd538c7ca4f15dc4.tar.bz2
scummvm-rg350-13d057101893c34911701e6dfd538c7ca4f15dc4.zip
fix warnings
svn-id: r11863
Diffstat (limited to 'sword1')
-rw-r--r--sword1/logic.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sword1/logic.cpp b/sword1/logic.cpp
index fcac13143b..fde84e2ea1 100644
--- a/sword1/logic.cpp
+++ b/sword1/logic.cpp
@@ -358,7 +358,7 @@ int SwordLogic::fullAnimDriver(BsObject *compact) {
compact->o_frame = FROM_LE_32(animPtr->animFrame);
compact->o_anim_pc++;
- if (compact->o_anim_pc == numFrames)
+ if (compact->o_anim_pc == (int)numFrames)
compact->o_logic = LOGIC_script;
_resMan->resClose(compact->o_anim_resource);
@@ -381,7 +381,7 @@ int SwordLogic::animDriver(BsObject *compact) {
compact->o_frame = FROM_LE_32(animPtr->animFrame);
compact->o_anim_pc++;
- if (compact->o_anim_pc == numFrames)
+ if (compact->o_anim_pc == (int)numFrames)
compact->o_logic = LOGIC_script;
_resMan->resClose(compact->o_anim_resource);