- made WoundHealth modifiable to allow more control over the wound state.
This commit is contained in:
parent
2a4a5e7a70
commit
d5250d6b9f
7 changed files with 7 additions and 7 deletions
|
|
@ -1536,7 +1536,7 @@ static int DamageMobj (AActor *target, AActor *inflictor, AActor *source, int da
|
|||
woundstate = target->FindState(NAME_Wound, mod);
|
||||
if (woundstate != NULL)
|
||||
{
|
||||
int woundhealth = target->GetClass()->WoundHealth;
|
||||
int woundhealth = target->WoundHealth;
|
||||
|
||||
if (target->health <= woundhealth)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue