Skip to content

Commit d313cf8

Browse files
committed
copy paste error
1 parent 42e85df commit d313cf8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

code/ship/ship.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10814,7 +10814,7 @@ void update_firing_sounds(object* objp, ship* shipp)
1081410814
vm_vec_avg_n(&snd_pos, pm->gun_banks[i].num_slots, pm->gun_banks[i].pnt);
1081510815

1081610816
if (wip->end_firing_snd.isValid() && end_snd_played != wip->end_firing_snd) {
10817-
obj_snd_assign(shipp->objnum, wip->start_firing_snd, &snd_pos, OS_PLAY_ON_PLAYER | OS_LOOPING_DISABLED);
10817+
obj_snd_assign(shipp->objnum, wip->end_firing_snd, &snd_pos, OS_PLAY_ON_PLAYER | OS_LOOPING_DISABLED);
1081810818

1081910819
end_snd_played = wip->end_firing_snd;
1082010820
}

0 commit comments

Comments
 (0)