[Change] No point playing sound for entering hyperspace range when already jumping.

This commit is contained in:
Allanis 2013-10-04 01:36:52 +01:00
parent 89fd3509e9
commit 69b05ae150

View File

@ -893,7 +893,8 @@ void player_renderGUI(void) {
i = space_canHyperspace(player); i = space_canHyperspace(player);
if((i != 0) && (i != can_jump)) if((i != 0) && (i != can_jump))
player_playSound(snd_jump, 1); if(!pilot_isFlag(player, PILOT_HYPERSPACE))
player_playSound(snd_jump, 1);
can_jump = i; can_jump = i;
c = can_jump ? &cConsole : NULL; c = can_jump ? &cConsole : NULL;