Remove the setorigin call from pure entities that links them into the world, fixes...
authorMario <mario.mario@y7mail.com>
Wed, 20 May 2020 02:09:39 +0000 (12:09 +1000)
committerMario <mario.mario@y7mail.com>
Wed, 20 May 2020 02:09:39 +0000 (12:09 +1000)
qcsrc/lib/oo.qh

index 70e17e6..a2cef66 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;
 }