From 0ea6fac17425829dedb940597d0d461407dbb6ad Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 8 Jul 2002 13:44:00 +0000 Subject: fixed my bogus QNX fix :-) svn-id: r4495 --- actor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3