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