Skip to content

Commit

Permalink
[MP] Fix roff not working on 64 bit builds.
Browse files Browse the repository at this point in the history
Change type of mVersion in TROFFHeader and TROFF2Header from long to int.
  • Loading branch information
Daggolin committed Sep 16, 2023
1 parent 677d7b1 commit 4a044f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions codemp/qcommon/RoffSystem.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class CROFFSystem
//-------------------------------
{
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
float mCount; // I think this is a float because of a limitation of the roff exporter

} TROFFHeader;
Expand All @@ -81,7 +81,7 @@ class CROFFSystem
//-------------------------------
{
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
Expand Down

0 comments on commit 4a044f5

Please sign in to comment.