Just... whoops. *game*.timeTaken, not *engine*.timeTaken. Fixed that...
This commit is contained in:
onpon4 2016-01-12 14:52:24 -05:00
parent a2e2207a67
commit a3afb0a133
3 changed files with 3 additions and 3 deletions

View File

@ -68,7 +68,7 @@ typedef struct Engine_ {
// Times the mission normally
Uint32 counter2;
int timeTaken; // In seconds
long timeTaken; // In seconds
// For missions with a time limit
int timeMission;

View File

@ -202,7 +202,7 @@ bool loadGame(int slot)
}
else
{
engine.timeTaken = (Uint32)(timeTaken);
game.timeTaken = (Uint32)(timeTaken);
}
game.destinationPlanet = game.stationedPlanet;
break;

View File

@ -162,7 +162,7 @@ typedef struct Game_ {
// remaining shield for experimental fighter
int experimentalShield;
long int timeTaken; // In seconds
Uint32 timeTaken; // In seconds
int missionCompleted[10];
int stationedPlanet;