Browse Source

Fix level bug

merge-requests/1/merge
Miloslav Číž 2 years ago
parent
commit
459dd85ee9
  1. BIN
      assets/level3.gif
  2. BIN
      bin/Anarch_LQ_linux64_sdl_elf_1-02
  3. BIN
      bin/Anarch_linux64_csfml_elf_1-02
  4. BIN
      bin/Anarch_linux64_sdl_elf_1-02
  5. 1
      game.h
  6. 2
      texts.h

BIN
assets/level3.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

BIN
bin/Anarch_LQ_linux64_sdl_elf_1-02

Binary file not shown.

BIN
bin/Anarch_linux64_csfml_elf_1-02

Binary file not shown.

BIN
bin/Anarch_linux64_sdl_elf_1-02

Binary file not shown.

1
game.h

@ -3750,7 +3750,6 @@ void SFG_gameStepPlaying() @@ -3750,7 +3750,6 @@ void SFG_gameStepPlaying()
if (SFG_player.weapon != currentWeapon) // if weapon switched, start cooldown
{
if (SFG_player.weapon == (currentWeapon + 1) % SFG_WEAPONS_TOTAL)
SFG_player.previousWeaponDirection = -1;
else if (currentWeapon == (SFG_player.weapon + 1) % SFG_WEAPONS_TOTAL)

2
texts.h

@ -34,7 +34,7 @@ static const char *SFG_menuItemTexts[] = @@ -34,7 +34,7 @@ static const char *SFG_menuItemTexts[] =
#define SFG_TEXT_SAVED "saved"
#define SFG_TEXT_LEVEL_COMPLETE "level done"
#define SFG_VERSION_STRING "1.01d"
#define SFG_VERSION_STRING "1.02"
/**<
Version numbering is following: major.minor for stable releases,
in-development unstable versions have the version of the latest stable +

Loading…
Cancel
Save