From 1a4ede14c63c3f7cd479bc98bed441698bc1c2f4 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Thu, 18 Dec 2003 08:28:14 +0000 Subject: pack WalkData struct to fix some endian issues svn-id: r11732 --- sword1/object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sword1') 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. -- cgit v1.2.3