From 82c26706171f411a4e75c6a1f8c00ab1b39133f3 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 2 Dec 2016 11:42:33 +0100 Subject: [PATCH] - removed redundant DoDropItem function. A_DropItem already exists and can be used instead. --- wadsrc/static/zscript/actor.txt | 1 - wadsrc/static/zscript/strife/strifestuff.txt | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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 (); }