Misc. fixes.
This commit is contained in:
parent
5f15f8f119
commit
f8363eb451
|
@ -388,6 +388,8 @@ static void postBattle(void)
|
||||||
|
|
||||||
updateAccuracyStats(game.stats);
|
updateAccuracyStats(game.stats);
|
||||||
|
|
||||||
|
game.currentMission->completed = (battle.status == MS_COMPLETE || !battle.numObjectivesTotal);
|
||||||
|
|
||||||
saveGame();
|
saveGame();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -93,7 +93,7 @@ void doBullets(void)
|
||||||
{
|
{
|
||||||
addMissileEngineEffect(b);
|
addMissileEngineEffect(b);
|
||||||
|
|
||||||
if (b->life < MISSILE_LIFE - (FPS / 2))
|
if (b->life < MISSILE_LIFE - (FPS / 4))
|
||||||
{
|
{
|
||||||
huntTarget(b);
|
huntTarget(b);
|
||||||
}
|
}
|
||||||
|
|
|
@ -171,7 +171,7 @@ void updateStarSystemMissions(void)
|
||||||
prev = mission;
|
prev = mission;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (starSystem->isSol)
|
if (!starSystem->isSol)
|
||||||
{
|
{
|
||||||
game.availableMissions += starSystem->availableMissions;
|
game.availableMissions += starSystem->availableMissions;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue