Making things more scale-friendly (but it's not perfect...)

This commit is contained in:
toasterbabe 2016-10-24 13:52:36 +01:00
parent bf873f8a9b
commit cc4d780371
2 changed files with 1 additions and 2 deletions

View file

@ -6819,7 +6819,6 @@ void P_MobjThinker(mobj_t *mobj)
whoosh->destscale = whoosh->scale<<1;
whoosh->fuse = 10;
whoosh->flags |= MF_NOCLIPHEIGHT;
whoosh->height = 42*FRACUNIT;
mobj->target->player->pflags &= ~PF_SHIELDABILITY; // prevent eternal whoosh
}
case MT_FLAMEAURA_ORB:

View file

@ -6994,7 +6994,7 @@ static void P_MovePlayer(player_t *player)
{
player->pflags |= PF_THOKKED|PF_SHIELDABILITY;
#if 1 // almost imperceptible hop for the purposes of aligning with the aura for as long as possible
P_SetObjectMomZ(player->mo, -4*P_GetMobjGravity(player->mo), false);
P_SetObjectMomZ(player->mo, FixedDiv(-4*P_GetMobjGravity(player->mo), player->mo->scale), false);
#else
player->mo->momz = // intentionally carries to post-endif line as multiple-assignment
#endif