From c15a3a86142c953edecd78a58f32fc0bc8bf2739 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 13 Jan 2008 15:47:55 +0000 Subject: [PATCH] - 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) --- docs/rh-log.txt | 4 ++++ wadsrc/decorate/nativeclasses.txt | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/rh-log.txt b/docs/rh-log.txt index d940efe23..7adae5b8d 100644 --- a/docs/rh-log.txt +++ b/docs/rh-log.txt @@ -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. diff --git a/wadsrc/decorate/nativeclasses.txt b/wadsrc/decorate/nativeclasses.txt index a50b22f4a..3984a4504 100644 --- a/wadsrc/decorate/nativeclasses.txt +++ b/wadsrc/decorate/nativeclasses.txt @@ -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 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();