fragglet / sdl-sopwith

Classic bi-plane shoot-'em up
https://fragglet.github.io/sdl-sopwith
GNU General Public License v2.0
71 stars 13 forks source link

Score does not "tick up" for remaining planes at end of level #22

Closed fragglet closed 7 months ago

fragglet commented 1 year ago

In vanilla Sopwith when you complete a level, your remaining planes get counted down and you get rewarded with points - so that there's a bonus if you manage to avoid being shot down. The code that does this is in swrestart() but it appears to be broken - we do the pause but don't update the screen. And then, we reset the score anyway (#20).

fragglet commented 7 months ago

Fixed in 1ab81debb1d9c32f6162096b0d7cc9f60074d4ba