Fixed type inconsistency.

SDL_GetTicks() returns Uint32, but I was using the long int type,
which could mean signed or unsigned, not to mention any size. Changed
missionCompleteTimer and timeTaken to Uint32 for consistency.
This commit is contained in:
onpon4 2016-01-12 10:41:42 -05:00
parent e6bd534cdf
commit a0f68d722b
1 changed files with 2 additions and 2 deletions

View File

@ -64,11 +64,11 @@ typedef struct Engine_ {
int targetIndex;
// Mission completion timer (allows for 4 seconds before leaving sector)
long missionCompleteTimer;
Uint32 missionCompleteTimer;
// Times the mission normally
Uint32 counter2;
long int timeTaken; // In seconds
Uint32 timeTaken; // In seconds
// For missions with a time limit
int timeMission;