- scriptified the remaining Cleric weapons.

This commit is contained in:
Christoph Oelckers 2016-11-26 19:23:22 +01:00
commit 997e4a2ac4
11 changed files with 210 additions and 272 deletions

View file

@ -1207,6 +1207,12 @@ int APlayerPawn::GetMaxHealth() const
return MaxHealth > 0? MaxHealth : ((i_compatflags&COMPATF_DEHHEALTH)? 100 : deh.MaxHealth);
}
DEFINE_ACTION_FUNCTION(APlayerPawn, GetMaxHealth)
{
PARAM_SELF_PROLOGUE(APlayerPawn);
ACTION_RETURN_INT(self->GetMaxHealth());
}
//===========================================================================
//
// APlayerPawn :: UpdateWaterLevel