From 901f4fc6b45b0924f05265dca8229563776cebc2 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Thu, 6 May 2010 07:18:50 +0200 Subject: [PATCH] trigger_music: only compare the view origin, makes making the zones easier --- qcsrc/client/target_music.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/client/target_music.qc b/qcsrc/client/target_music.qc index 69c42ee10..952abd1bf 100644 --- a/qcsrc/client/target_music.qc +++ b/qcsrc/client/target_music.qc @@ -85,7 +85,7 @@ void Net_TargetMusic() void Ent_TriggerMusic_Think() { - if(WarpZoneLib_BoxTouchesBrush(pmove_org + pmove_mins, pmove_org + pmove_maxs, self, world)) + if(WarpZoneLib_BoxTouchesBrush(view_origin, view_origin, self, world)) music_trigger = self; self.nextthink = time; } -- 2.39.2