]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
reorder for readability
authorAmadeusz Sławiński <amade@asmblr.net>
Wed, 22 Feb 2017 13:46:39 +0000 (14:46 +0100)
committerAmadeusz Sławiński <amade@asmblr.net>
Wed, 22 Feb 2017 13:46:39 +0000 (14:46 +0100)
qcsrc/common/util.qc

index 38514e9270b7f457bbf8590d1d26f091af641272..a5ef6082f8e82bd4435e7b86a1edfadfe827d207 100644 (file)
 */
 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);