aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2009-08-18 06:43:06 +0000
committerFilippos Karapetis2009-08-18 06:43:06 +0000
commitc9402c5559dee28ccc99fb7abca5dc83ec46a330 (patch)
tree5eeda1fedea0d44e53898f4eb956e8507049929c
parenteb11cca7888c01256550d4aac429cc73eb0330e2 (diff)
downloadscummvm-rg350-c9402c5559dee28ccc99fb7abca5dc83ec46a330.tar.gz
scummvm-rg350-c9402c5559dee28ccc99fb7abca5dc83ec46a330.tar.bz2
scummvm-rg350-c9402c5559dee28ccc99fb7abca5dc83ec46a330.zip
Applied agent-q's patch to the SAGA pathfinding code for all platforms - x and y should not ever be greater than 640 and 480 respectively, so it looks safe enough to be applied
svn-id: r43500
-rw-r--r--engines/saga/actor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/saga/actor.h b/engines/saga/actor.h
index d998c65240..57d06e9e3a 100644
--- a/engines/saga/actor.h
+++ b/engines/saga/actor.h
@@ -183,8 +183,8 @@ enum DragonMoveTypes {
struct PathDirectionData {
int8 direction;
- int x;
- int y;
+ int16 x;
+ int16 y;
};
struct ActorFrameRange {