Allow retrieval of the custom Crush state in WorldThingGround
This commit is contained in:
parent
7285c5aca8
commit
6e692e5571
4 changed files with 13 additions and 8 deletions
|
|
@ -1204,7 +1204,7 @@ bool AActor::Grind(bool items)
|
|||
S_Sound (this, CHAN_BODY, 0, "misc/fallingsplat", 1, ATTN_IDLE);
|
||||
Translation = BloodTranslation;
|
||||
}
|
||||
Level->localEventManager->WorldThingGround(this);
|
||||
Level->localEventManager->WorldThingGround(this, state);
|
||||
return false;
|
||||
}
|
||||
if (!(flags & MF_NOBLOOD))
|
||||
|
|
@ -1247,7 +1247,7 @@ bool AActor::Grind(bool items)
|
|||
gib->Translation = BloodTranslation;
|
||||
}
|
||||
S_Sound (this, CHAN_BODY, 0, "misc/fallingsplat", 1, ATTN_IDLE);
|
||||
Level->localEventManager->WorldThingGround(this);
|
||||
Level->localEventManager->WorldThingGround(this, nullptr);
|
||||
}
|
||||
if (flags & MF_ICECORPSE)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue