diff options
| author | XaviDCR92 <xavi.dcr@gmail.com> | 2018-02-03 16:05:37 +0100 |
|---|---|---|
| committer | XaviDCR92 <xavi.dcr@gmail.com> | 2018-02-03 16:05:37 +0100 |
| commit | 6364d64cbca986c61b3bea76167610198fbe99bb (patch) | |
| tree | 445e96738e5712e4518bc6b63f7d82f347c3a3ef /Source/Game.c | |
| parent | 7d14b5036066d9391d52ab73ca4b26c03e3cb6c2 (diff) | |
| download | airport-6364d64cbca986c61b3bea76167610198fbe99bb.tar.gz | |
* Aircraft.c: files were being loaded each time level was selected.
* Game.c: score bonus is now added depending on flight remaining time.
+ Added second level.
Diffstat (limited to 'Source/Game.c')
| -rw-r--r-- | Source/Game.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Game.c b/Source/Game.c index 2670dc0..f3fd11a 100644 --- a/Source/Game.c +++ b/Source/Game.c @@ -3968,6 +3968,9 @@ void GameRemoveFlight(uint8_t idx, bool successful) if (successful != false) { GameScore += SCORE_REWARD_FINISH_FLIGHT; + + // Add punctuation + GameScore += FlightData.RemainingTime[idx] << 1; } else { |
