X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Flib%2Foo.qh;h=cf3a51f3aeaa10dc503b14a63dcad4c4220ec0a2;hp=e1e3193308c4a0fe021301445e827dedd97a4ec8;hb=2b67ae817f499cefc1778834117ce3f7b56cbdd9;hpb=3cd3ce4699814aa2cf2d13c3bd3f5a994fb2c40f diff --git a/qcsrc/lib/oo.qh b/qcsrc/lib/oo.qh index e1e3193308..cf3a51f3ae 100644 --- a/qcsrc/lib/oo.qh +++ b/qcsrc/lib/oo.qh @@ -50,10 +50,10 @@ entity __spawn(string _classname, string _sourceLoc, bool pure) if (pure) { make_pure(this); #ifdef CSQC - setorigin(this, '0 0 10000'); + setorigin(this, world.mins + '0 0 20'); #endif #ifdef SVQC - setorigin(this, '0 0 -10000'); + setorigin(this, world.maxs - '0 0 20'); #endif } return this;