]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/items/items.qc
items: remove blind nudging of items during spawn
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / items / items.qc
index fe83afbda38e6b03b5bdbadeaf14a0e913f5fe41..f4853c5c7203c9d36c57ebcce6d2520c1b80a310 100644 (file)
@@ -1110,8 +1110,6 @@ void StartItem(entity this, entity def)
                // do item filtering according to game mode and other things
                if (this.noalign <= 0)
                {
-                       // first nudge it off the floor a little bit to avoid math errors
-                       setorigin(this, this.origin + '0 0 1');
                        // note droptofloor returns false if stuck/or would fall too far
                        if (!this.noalign)
                                droptofloor(this);