diff --git a/wadsrc/static/zscript/actor.txt b/wadsrc/static/zscript/actor.txt index bd00ffc98f..ee4c92adde 100644 --- a/wadsrc/static/zscript/actor.txt +++ b/wadsrc/static/zscript/actor.txt @@ -303,7 +303,6 @@ class Actor : Thinker native native void DaggerAlert(Actor target); native void ClearBounce(); native TerrainDef GetFloorTerrain(); - native Inventory DoDropItem(Class type, int dropamount, int chance); native bool CheckLocalView(int consoleplayer); native void ExplodeMissile(line lin = null, Actor target = null); diff --git a/wadsrc/static/zscript/strife/strifestuff.txt b/wadsrc/static/zscript/strife/strifestuff.txt index 20bee61d01..37918aa964 100644 --- a/wadsrc/static/zscript/strife/strifestuff.txt +++ b/wadsrc/static/zscript/strife/strifestuff.txt @@ -1864,7 +1864,7 @@ class PowerCoupling : Actor players[i].mo.GiveInventoryType ("QuestItem6"); S_Sound ("svox/voc13", CHAN_VOICE); players[i].SetLogNumber (13); - DoDropItem ("BrokenPowerCoupling", -1, 256); + A_DropItem ("BrokenPowerCoupling", -1, 256); Destroy (); }