Misc. fixes.

This commit is contained in:
Steve 2016-04-30 13:32:50 +01:00
parent 5f15f8f119
commit f8363eb451
3 changed files with 4 additions and 2 deletions

View File

@ -388,6 +388,8 @@ static void postBattle(void)
updateAccuracyStats(game.stats);
game.currentMission->completed = (battle.status == MS_COMPLETE || !battle.numObjectivesTotal);
saveGame();
}

View File

@ -93,7 +93,7 @@ void doBullets(void)
{
addMissileEngineEffect(b);
if (b->life < MISSILE_LIFE - (FPS / 2))
if (b->life < MISSILE_LIFE - (FPS / 4))
{
huntTarget(b);
}

View File

@ -171,7 +171,7 @@ void updateStarSystemMissions(void)
prev = mission;
}
if (starSystem->isSol)
if (!starSystem->isSol)
{
game.availableMissions += starSystem->availableMissions;
}