From ac9a3c77485c4b42855c632541423705492eaff3 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Sun, 21 Apr 2013 23:31:26 +1000 Subject: [PATCH] use an int not a long for the version in the roff header --- code/game/g_roff.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/game/g_roff.h b/code/game/g_roff.h index 016fa9e..b03de62 100644 --- a/code/game/g_roff.h +++ b/code/game/g_roff.h @@ -18,7 +18,7 @@ typedef struct roff_hdr_s { char mHeader[4]; // should be "ROFF" (Rotation, Origin File Format) - long mVersion; + int mVersion; float mCount; // There isn't any reason for this to be anything other than an int, sigh... // // Move - Rotate data follows....vec3_t delta_origin, vec3_t delta_rotation @@ -39,7 +39,7 @@ typedef struct roff_hdr2_s //------------------------------- { char mHeader[4]; // should match roff_string defined above - long mVersion; // version num, supported version defined above + int mVersion; // version num, supported version defined above int mCount; // I think this is a float because of a limitation of the roff exporter int mFrameRate; // Frame rate the roff should be played at int mNumNotes; // number of notes (null terminated strings) after the roff data @@ -85,4 +85,4 @@ void G_Roff( gentity_t *ent ); void G_SaveCachedRoffs(); void G_LoadCachedRoffs(); -#endif` \ No newline at end of file +#endif`