aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray2003-12-18 08:28:14 +0000
committerJonathan Gray2003-12-18 08:28:14 +0000
commit1a4ede14c63c3f7cd479bc98bed441698bc1c2f4 (patch)
treef14d2a9d6888eecec0862d12c7b486b1ed691ed3
parent18d1bc3d9913bd5fdd8f39b3db1314e272eb6289 (diff)
downloadscummvm-rg350-1a4ede14c63c3f7cd479bc98bed441698bc1c2f4.tar.gz
scummvm-rg350-1a4ede14c63c3f7cd479bc98bed441698bc1c2f4.tar.bz2
scummvm-rg350-1a4ede14c63c3f7cd479bc98bed441698bc1c2f4.zip
pack WalkData struct to fix some endian issues
svn-id: r11732
-rw-r--r--sword1/object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sword1/object.h b/sword1/object.h
index 23783527ae..60a31a08e4 100644
--- a/sword1/object.h
+++ b/sword1/object.h
@@ -54,7 +54,7 @@ struct WalkData {
int32 y;
int32 step;
int32 dir;
-}; // size = 5*int32 = 20 bytes
+} GCC_PACK; // size = 5*int32 = 20 bytes
struct BsObject {
int32 o_type; // 0 broad description of type - object, floor, etc.