Fix copy-paste bug for multiplayer weapon sound
Send SOUND_GOOD_SELECTION_SECONDARY for changing secondaries.
This commit is contained in:
parent
d510438fd4
commit
64b78e0061
|
@ -399,7 +399,7 @@ void select_weapon(int weapon_num, int secondary_flag, int print_message, int wa
|
|||
if (Secondary_weapon != weapon_num) {
|
||||
if (wait_for_rearm) digi_play_sample_once( SOUND_GOOD_SELECTION_SECONDARY, F1_0 );
|
||||
if (Game_mode & GM_MULTI) {
|
||||
if (wait_for_rearm) multi_send_play_sound(SOUND_GOOD_SELECTION_PRIMARY, F1_0);
|
||||
if (wait_for_rearm) multi_send_play_sound(SOUND_GOOD_SELECTION_SECONDARY, F1_0);
|
||||
}
|
||||
if (wait_for_rearm)
|
||||
Next_missile_fire_time = GameTime64 + REARM_TIME;
|
||||
|
|
Loading…
Reference in a new issue