]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/items/items.qc
Remove legacy Quake bbox expansion: items (and buffs)
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / items / items.qc
index d09ea81aa1b93ae4c89253049b3df251f4f6d575..fe83afbda38e6b03b5bdbadeaf14a0e913f5fe41 100644 (file)
@@ -1046,6 +1046,9 @@ void StartItem(entity this, entity def)
                        this.nextthink = max(this.strength_finished, this.invincible_finished, this.superweapons_finished);
                }
 
+               // most loot items have a bigger horizontal size than a player
+               nudgeoutofsolid(this);
+
                // don't drop if in a NODROP zone (such as lava)
                traceline(this.origin, this.origin, MOVE_NORMAL, this);
                if (trace_dpstartcontents & DPCONTENTS_NODROP)