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
|
// 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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue