summaryrefslogtreecommitdiff
path: root/src/win95/animobs.hpp
diff options
context:
space:
mode:
authorSteven Fuller <relnev@icculus.org>2014-12-25 12:00:00 +0100
committerPatryk Obara <dreamer.tan@gmail.com>2019-08-20 03:45:24 +0200
commit22475d6d94e96056d1550dca00b32d00e3821649 (patch)
tree175dbbc8da0704d493fe3cb6024d8117c4f1b27b /src/win95/animobs.hpp
parent819e239f23b0c515f32fe0ec8350bdfd8d64c9e9 (diff)
Import icculus.org release (2014-12-25)
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);}