[Change] No point playing sound for entering hyperspace range when already jumping.
This commit is contained in:
parent
89fd3509e9
commit
69b05ae150
@ -893,6 +893,7 @@ void player_renderGUI(void) {
|
|||||||
|
|
||||||
i = space_canHyperspace(player);
|
i = space_canHyperspace(player);
|
||||||
if((i != 0) && (i != can_jump))
|
if((i != 0) && (i != can_jump))
|
||||||
|
if(!pilot_isFlag(player, PILOT_HYPERSPACE))
|
||||||
player_playSound(snd_jump, 1);
|
player_playSound(snd_jump, 1);
|
||||||
can_jump = i;
|
can_jump = i;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user