aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2002-07-08 13:44:00 +0000
committerMax Horn2002-07-08 13:44:00 +0000
commit0ea6fac17425829dedb940597d0d461407dbb6ad (patch)
treec044662e0ab9960f2f6d8651d20062f838b31c7b
parent6538be45fa7e21036515aa63da6f5b384de52198 (diff)
downloadscummvm-rg350-0ea6fac17425829dedb940597d0d461407dbb6ad.tar.gz
scummvm-rg350-0ea6fac17425829dedb940597d0d461407dbb6ad.tar.bz2
scummvm-rg350-0ea6fac17425829dedb940597d0d461407dbb6ad.zip
fixed my bogus QNX fix :-)
svn-id: r4495
-rw-r--r--actor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/actor.cpp b/actor.cpp
index 1d1f5ca0de..ef28ba4c97 100644
--- a/actor.cpp
+++ b/actor.cpp
@@ -147,7 +147,7 @@ int Actor::calcMovementFactor(int newX, int newY)
YXFactor = 0;
}
- if ((uint) abs((double)(XYFactor >> 16)) > speedx) {
+ if ((uint) abs((int)(XYFactor >> 16)) > speedx) {
XYFactor = speedx << 16;
if (diffX < 0)
XYFactor = -XYFactor;