mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 23:11:58 +00:00
- removed redundant DoDropItem function. A_DropItem already exists and can be used instead.
This commit is contained in:
parent
05cc3dde72
commit
82c2670617
2 changed files with 1 additions and 2 deletions
|
@ -303,7 +303,6 @@ class Actor : Thinker native
|
||||||
native void DaggerAlert(Actor target);
|
native void DaggerAlert(Actor target);
|
||||||
native void ClearBounce();
|
native void ClearBounce();
|
||||||
native TerrainDef GetFloorTerrain();
|
native TerrainDef GetFloorTerrain();
|
||||||
native Inventory DoDropItem(Class<Actor> type, int dropamount, int chance);
|
|
||||||
native bool CheckLocalView(int consoleplayer);
|
native bool CheckLocalView(int consoleplayer);
|
||||||
|
|
||||||
native void ExplodeMissile(line lin = null, Actor target = null);
|
native void ExplodeMissile(line lin = null, Actor target = null);
|
||||||
|
|
|
@ -1864,7 +1864,7 @@ class PowerCoupling : Actor
|
||||||
players[i].mo.GiveInventoryType ("QuestItem6");
|
players[i].mo.GiveInventoryType ("QuestItem6");
|
||||||
S_Sound ("svox/voc13", CHAN_VOICE);
|
S_Sound ("svox/voc13", CHAN_VOICE);
|
||||||
players[i].SetLogNumber (13);
|
players[i].SetLogNumber (13);
|
||||||
DoDropItem ("BrokenPowerCoupling", -1, 256);
|
A_DropItem ("BrokenPowerCoupling", -1, 256);
|
||||||
Destroy ();
|
Destroy ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue