Skip to content

Commit

Permalink
Merge pull request #2135 from momoko-h/RemoveUselessVariable [skip ci]
Browse files Browse the repository at this point in the history
Remove gfForceMusicToTense
  • Loading branch information
momoko-h authored Dec 16, 2024
2 parents df32818 + c7c9ad0 commit 2e6f064
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions src/game/Tactical/Overhead.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4036,8 +4036,6 @@ void ExitCombatMode( )
}

// Change music modes
gfForceMusicToTense = TRUE;

SetMusicMode( MUSIC_TACTICAL_ENEMYPRESENT );

BetweenTurnsVisibilityAdjustments();
Expand Down Expand Up @@ -4327,7 +4325,6 @@ BOOLEAN CheckForEndOfCombatMode( BOOLEAN fIncrementTurnsNotSeen )
}*/

// Begin tense music....
gfForceMusicToTense = TRUE;
SetMusicMode( MUSIC_TACTICAL_ENEMYPRESENT );

return( TRUE );
Expand Down
1 change: 0 additions & 1 deletion src/game/Utils/Music_Control.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ static INT8 gbDeathSongCount = 0;
static INT8 gbFadeSpeed = 1;


BOOLEAN gfForceMusicToTense = FALSE;
static BOOLEAN gfDontRestartSong = FALSE;


Expand Down
1 change: 0 additions & 1 deletion src/game/Utils/Music_Control.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#include <string_theory/string>

extern MusicMode gubMusicMode;
extern BOOLEAN gfForceMusicToTense;


void SetMusicMode(MusicMode ubMusicMode);
Expand Down

0 comments on commit 2e6f064

Please sign in to comment.