]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Rename variables to not overlap with builtin functions
authorFreddy <schro.sb@gmail.com>
Tue, 13 Mar 2018 12:03:51 +0000 (13:03 +0100)
committerFreddy <schro.sb@gmail.com>
Tue, 13 Mar 2018 12:03:51 +0000 (13:03 +0100)
qcsrc/common/triggers/trigger/hurt.qc

index 7df3ee7a9598f87d27eba38e729eb91c5f3395d9..966e0cfb0fe6657287ee8135c9f9411f732de18d 100644 (file)
@@ -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;