Whoops
Just... whoops. *game*.timeTaken, not *engine*.timeTaken. Fixed that...
This commit is contained in:
parent
a2e2207a67
commit
a3afb0a133
|
@ -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;
|
||||
|
|
|
@ -202,7 +202,7 @@ bool loadGame(int slot)
|
|||
}
|
||||
else
|
||||
{
|
||||
engine.timeTaken = (Uint32)(timeTaken);
|
||||
game.timeTaken = (Uint32)(timeTaken);
|
||||
}
|
||||
game.destinationPlanet = game.stationedPlanet;
|
||||
break;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue