mirror of
https://github.com/ioquake/jedi-academy.git
synced 2024-11-22 04:11:57 +00:00
use an int not a long for the version in the roff header
This commit is contained in:
parent
76fb0c6d6f
commit
ac9a3c7748
1 changed files with 3 additions and 3 deletions
|
@ -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`
|
||||
|
|
Loading…
Reference in a new issue