use an int not a long for the version in the roff header

This commit is contained in:
Jonathan Gray 2013-04-21 23:31:26 +10:00
parent 76fb0c6d6f
commit ac9a3c7748
1 changed files with 3 additions and 3 deletions

View File

@ -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`
#endif`