- scriptified ammo.

- moved inventory stuff into its own directory.
This commit is contained in:
Christoph Oelckers 2017-01-14 21:27:31 +01:00
commit a597979738
13 changed files with 157 additions and 135 deletions

View file

@ -1048,6 +1048,13 @@ void APlayerPawn::CheckWeaponSwitch(PClassInventory *ammotype)
}
}
DEFINE_ACTION_FUNCTION(APlayerPawn, CheckWeaponSwitch)
{
PARAM_SELF_PROLOGUE(APlayerPawn);
PARAM_OBJECT(ammotype, PClassInventory);
self->CheckWeaponSwitch(ammotype);
return 0;
}
//===========================================================================
//
// APlayerPawn :: GiveDeathmatchInventory