From: Freddy Date: Tue, 13 Mar 2018 12:03:51 +0000 (+0100) Subject: Rename variables to not overlap with builtin functions X-Git-Tag: xonotic-v0.8.5~2176^2~13 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=fe5c0f15b6222af01866e631bffc5fbab5bcb107;p=xonotic%2Fxonotic-data.pk3dir.git Rename variables to not overlap with builtin functions --- diff --git a/qcsrc/common/triggers/trigger/hurt.qc b/qcsrc/common/triggers/trigger/hurt.qc index 7df3ee7a9..966e0cfb0 100644 --- a/qcsrc/common/triggers/trigger/hurt.qc +++ b/qcsrc/common/triggers/trigger/hurt.qc @@ -80,12 +80,12 @@ spawnfunc(trigger_hurt) trigger_hurt_last = this; } -bool tracebox_hits_trigger_hurt(vector start, vector min, vector max, vector end) +bool tracebox_hits_trigger_hurt(vector start, vector e_min, vector e_max, vector end) { entity th; for(th = trigger_hurt_first; th; th = th.trigger_hurt_next) - if(tracebox_hits_box(start, min, max, end, th.absmin, th.absmax)) + if(tracebox_hits_box(start, e_min, e_max, end, th.absmin, th.absmax)) return true; return false;