- scriptified the remaining Cleric weapons.
This commit is contained in:
parent
659a592f16
commit
997e4a2ac4
11 changed files with 210 additions and 272 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue