From d0535cd31249964e148b541b160952c5df069a68 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Amadeusz=20S=C5=82awi=C5=84ski?= Date: Wed, 22 Feb 2017 14:46:39 +0100 Subject: [PATCH] reorder for readability --- qcsrc/common/util.qc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); -- 2.39.2