diff options
-rw-r--r-- | src/heretic/s_sound.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/heretic/s_sound.c b/src/heretic/s_sound.c index ae40269b..a67a56c8 100644 --- a/src/heretic/s_sound.c +++ b/src/heretic/s_sound.c @@ -241,7 +241,7 @@ void S_StartSound(mobj_t * origin, int sound_id) { angle = R_PointToAngle2(players[consoleplayer].mo->x, players[consoleplayer].mo->y, - channel[i].mo->x, channel[i].mo->y); + origin->x, origin->y); angle = (angle - viewangle) >> 24; sep = angle * 2 - 128; if (sep < 64) |