[Change] No point playing sound for entering hyperspace range when already jumping.
This commit is contained in:
parent
89fd3509e9
commit
69b05ae150
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user