From: TimePath Date: Mon, 13 Jun 2016 03:51:07 +0000 (+1000) Subject: Prefer using droptofloor over builtin_droptofloor X-Git-Tag: xonotic-v0.8.2~812 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6e9c81c87d69e23957f16b541acb99bcb9be54bd;p=xonotic%2Fxonotic-data.pk3dir.git Prefer using droptofloor over builtin_droptofloor --- diff --git a/qcsrc/common/mutators/mutator/physical_items/physical_items.qc b/qcsrc/common/mutators/mutator/physical_items/physical_items.qc index 7bd1687af..1adec77a7 100644 --- a/qcsrc/common/mutators/mutator/physical_items/physical_items.qc +++ b/qcsrc/common/mutators/mutator/physical_items/physical_items.qc @@ -127,7 +127,7 @@ MUTATOR_HOOKFUNCTION(physical_items, Item_Spawn) { // fix the spawn origin setorigin(wep, wep.origin + '0 0 1'); - WITHSELF(wep, builtin_droptofloor()); + droptofloor(wep); } wep.spawn_origin = wep.origin; diff --git a/qcsrc/common/turrets/sv_turrets.qc b/qcsrc/common/turrets/sv_turrets.qc index 1c87cbb45..154ae69b7 100644 --- a/qcsrc/common/turrets/sv_turrets.qc +++ b/qcsrc/common/turrets/sv_turrets.qc @@ -1259,7 +1259,7 @@ bool turret_initialize(entity this, Turret tur) } if(!(this.spawnflags & TSF_SUSPENDED)) - WITHSELF(this, builtin_droptofloor()); + droptofloor(this); this.netname = tur.netname; load_unit_settings(this, 0);