HurricanGame / Hurrican

Freeware jump and shoot game created by Poke53280, based on the Turrican game series by Manfred Trenz
62 stars 22 forks source link

Fixed a bug with the intro #73

Closed Mia75owo closed 10 months ago

Mia75owo commented 11 months ago

This fixes a bug:

The intro has a counter which is used to fade it out when a key is pressed. When the counter reaches 0 the intro state gets changed to DONE. When a key is still pressed, the function EndIntro will be called and it checks if the intro state is not FADEOUT, but not for DONE, so it will restart the fade out sequence.

To repoduce this just hold a key pressed when ending the intro, as long as the key is pressed the intro will always restart the fading.

thrimbor commented 11 months ago

Could you choose a more descriptive commit title please? A title containing only the word "fixed" doesn't really say anything about what the commit does.

drfiemost commented 10 months ago

Verified, thanks!