From: Amadeusz Sławiński Date: Wed, 22 Feb 2017 13:46:39 +0000 (+0100) Subject: reorder for readability X-Git-Tag: xonotic-v0.8.5~2843^2~4 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d0535cd31249964e148b541b160952c5df069a68;p=xonotic%2Fxonotic-data.pk3dir.git reorder for readability --- diff --git a/qcsrc/common/util.qc b/qcsrc/common/util.qc index 38514e927..a5ef6082f 100644 --- a/qcsrc/common/util.qc +++ b/qcsrc/common/util.qc @@ -24,10 +24,9 @@ */ vector real_origin(entity ent) { - entity e; vector v = ((ent.absmin + ent.absmax) * 0.5); + entity e = ent.tag_entity; - e = ent.tag_entity; while(e) { v = v + ((e.absmin + e.absmax) * 0.5);