]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/item_key.qc
Remove even more self
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / item_key.qc
index bf389377f726e8fdf0b907d71883a7d7fd7b0dc0..cbc6f94f4891dbef599c13d1f5f32054e24abc81 100644 (file)
@@ -119,7 +119,7 @@ void spawn_item_key(entity this)
                // 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
-               WITHSELF(this, droptofloor());
+               droptofloor(this);
        }
 
        settouch(this, item_key_touch);