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 // Times the mission normally
Uint32 counter2; Uint32 counter2;
int timeTaken; // In seconds long timeTaken; // In seconds
// For missions with a time limit // For missions with a time limit
int timeMission; int timeMission;

View File

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

View File

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