Merge branch 'metalbwarp' into 'master'

Fix Metal Sonic not correctly flipping with gravity (Resolve #289).

Closes #289

See merge request STJr/SRB2Internal!472
This commit is contained in:
MascaraSnake 2019-11-18 13:39:22 -05:00
commit dbdbc116c7
1 changed files with 3 additions and 0 deletions

View File

@ -5194,7 +5194,10 @@ void G_ReadMetalTic(mobj_t *metal)
{ // But wait, there's more!
xziptic = READUINT8(metal_p);
if (xziptic & EZT_FLIP)
{
metal->eflags ^= MFE_VERTICALFLIP;
metal->flags2 ^= MF2_OBJECTFLIP;
}
if (xziptic & EZT_SCALE)
{
metal->destscale = READFIXED(metal_p);