aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudvig Strigeus2002-04-19 08:21:56 +0000
committerLudvig Strigeus2002-04-19 08:21:56 +0000
commit2f5c7c135d60f65b9778e925247a0bc9c43dac0b (patch)
treefd7ba1fd60e7dc62bf2e5549374c67b390c5f5d9
parentc8cb0e6bf6e62788cdde19309414ea65aaf0b2a1 (diff)
downloadscummvm-rg350-2f5c7c135d60f65b9778e925247a0bc9c43dac0b.tar.gz
scummvm-rg350-2f5c7c135d60f65b9778e925247a0bc9c43dac0b.tar.bz2
scummvm-rg350-2f5c7c135d60f65b9778e925247a0bc9c43dac0b.zip
fixed actor walk bug in monte carlo
svn-id: r4002
-rw-r--r--scumm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm.h b/scumm.h
index e2dbfa432a..9b08da3424 100644
--- a/scumm.h
+++ b/scumm.h
@@ -106,8 +106,8 @@ struct CodeHeader {
byte x,y,w,h;
byte flags;
byte parent;
- uint16 walk_x;
- uint16 walk_y;
+ int16 walk_x;
+ int16 walk_y;
byte actordir;
} GCC_PACK v5;
@@ -182,7 +182,7 @@ class ObjectData {
public:
uint32 offs_obim_to_room;
uint32 offs_obcd_to_room;
- uint16 walk_x, walk_y;
+ int16 walk_x, walk_y;
uint16 obj_nr;
int16 x_pos;
int16 y_pos;