- Exported AActor::Grind to ZScript.

This commit is contained in:
Player701 2018-11-29 23:49:13 +03:00 committed by Christoph Oelckers
commit 927d333063
8 changed files with 52 additions and 32 deletions

View file

@ -6485,7 +6485,7 @@ void P_FindBelowIntersectors(AActor *actor)
void P_DoCrunch(AActor *thing, FChangePosition *cpos)
{
if (!(thing && thing->Grind(true) && cpos)) return;
if (!(thing && thing->CallGrind(true) && cpos)) return;
cpos->nofit = true;
if ((cpos->crushchange > 0) && !(level.maptime & 3))