- Moved A_Punch from Inventory to Actor. Apparently there are WADs that use it

for monsters. The function works fine for monsters as it is.


SVN r705 (trunk)
This commit is contained in:
Christoph Oelckers 2008-01-13 15:47:55 +00:00
parent 685de5ce30
commit c15a3a8614
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
January 13, 2008 (Changes by Graf Zahl)
- Moved A_Punch from Inventory to Actor. Apparently there are WADs that use it
for monsters. The function works fine for monsters as it is.
January 12, 2008
- Applied Blzut3's SBARINFO update #8:
* Fixed: Drawbar had a few memory leaks.

View file

@ -175,6 +175,7 @@ class Actor extends Thinker
action native A_ClearTarget();
action native A_JumpIfTargetInLOS (state label, optional eval float fov);
action native A_SelectWeapon(class<Weapon> whichweapon);
action native A_Punch();
}
class Inventory extends Actor
@ -193,7 +194,6 @@ class Inventory extends Actor
action native A_WeaponReady();
action native A_Lower();
action native A_Raise();
action native A_Punch();
action native A_FirePistol();
action native A_FireShotgun();
action native A_FireShotgun2();