Colorize non-buoyant rollout rocks (MF2_AMBUSH distinguishability)

This commit is contained in:
lachwright 2019-10-07 22:51:13 +08:00
parent 77dd5260ab
commit 3412eb655a
1 changed files with 6 additions and 0 deletions

View File

@ -13937,6 +13937,12 @@ void A_RolloutSpawn(mobj_t *actor)
actor->target = P_SpawnMobj(actor->x, actor->y, actor->z, locvar2);
actor->target->flags2 |= (actor->flags2 & (MF2_AMBUSH | MF2_OBJECTFLIP)) | MF2_SLIDEPUSH;
actor->target->eflags |= (actor->eflags & MFE_VERTICALFLIP);
if (actor->target->flags2 & MF2_AMBUSH)
{
actor->target->color = SKINCOLOR_SUPERRUST3;
actor->target->colorized = true;
}
}
}