mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 20:11:47 +00:00
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:
commit
0c0b544bcf
1 changed files with 3 additions and 0 deletions
|
|
@ -5194,7 +5194,10 @@ void G_ReadMetalTic(mobj_t *metal)
|
||||||
{ // But wait, there's more!
|
{ // But wait, there's more!
|
||||||
xziptic = READUINT8(metal_p);
|
xziptic = READUINT8(metal_p);
|
||||||
if (xziptic & EZT_FLIP)
|
if (xziptic & EZT_FLIP)
|
||||||
|
{
|
||||||
metal->eflags ^= MFE_VERTICALFLIP;
|
metal->eflags ^= MFE_VERTICALFLIP;
|
||||||
|
metal->flags2 ^= MF2_OBJECTFLIP;
|
||||||
|
}
|
||||||
if (xziptic & EZT_SCALE)
|
if (xziptic & EZT_SCALE)
|
||||||
{
|
{
|
||||||
metal->destscale = READFIXED(metal_p);
|
metal->destscale = READFIXED(metal_p);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue