summaryrefslogtreecommitdiff
path: root/src/win95/animobs.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/win95/animobs.hpp')
-rw-r--r--src/win95/animobs.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/win95/animobs.hpp b/src/win95/animobs.hpp
index 727df47..ee93efb 100644
--- a/src/win95/animobs.hpp
+++ b/src/win95/animobs.hpp
@@ -246,7 +246,9 @@ struct Object_Animation_Frame
{
ChunkQuat orientation;
ChunkVectorInt transform;
- signed long at_frame_no; //frame start time (0-65535)
+
+ // SBF: 64HACK - changed long to int32_t as this structure isn't serialized correctly
+ int32_t at_frame_no; //frame start time (0-65535)
int flags;
int get_sound_index(){return ((flags & HierarchyFrame_SoundIndexMask )>>24);}