- removed redundant DoDropItem function. A_DropItem already exists and can be used instead.

This commit is contained in:
Christoph Oelckers 2016-12-02 11:42:33 +01:00
parent 05cc3dde72
commit 82c2670617
2 changed files with 1 additions and 2 deletions

View file

@ -303,7 +303,6 @@ class Actor : Thinker native
native void DaggerAlert(Actor target);
native void ClearBounce();
native TerrainDef GetFloorTerrain();
native Inventory DoDropItem(Class<Actor> type, int dropamount, int chance);
native bool CheckLocalView(int consoleplayer);
native void ExplodeMissile(line lin = null, Actor target = null);

View file

@ -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 ();
}