]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Merge branch 'Mario/pure_entity_fix' into 'master'
authorMario <mario.mario@y7mail.com>
Tue, 26 May 2020 14:13:38 +0000 (14:13 +0000)
committerMario <mario.mario@y7mail.com>
Tue, 26 May 2020 14:13:38 +0000 (14:13 +0000)
Merge branch Mario/pure_entity_fix (XXS merge request)

See merge request xonotic/xonotic-data.pk3dir!820

qcsrc/lib/oo.qh

index 70e17e6cf0b2ddc9146c3bbf52fec8d0d88f078b..a2cef664bad3b72f9936ab371b12087c1e362027 100644 (file)
@@ -39,12 +39,6 @@ entity __spawn(string _classname, string _sourceLoc, bool pure)
        this.sourceLoc = _sourceLoc;
        if (pure) {
                make_pure(this);
-               #ifdef CSQC
-               setorigin(this, (world.mins + world.maxs) * 0.5);
-               #endif
-               #ifdef SVQC
-        setorigin(this, (world.mins + world.maxs) * 0.5);
-        #endif
        }
        return this;
 }