Spark fix

(please don't spread these fixes out across different branches :boi:)
This commit is contained in:
TehRealSalt 2018-09-18 15:51:27 -04:00
parent 864f2466fe
commit 8013a064ab

View file

@ -2308,7 +2308,7 @@ static void K_SpawnDriftSparks(player_t *player)
P_SetMobjState(spark, S_DRIFTSPARK_A1);
}
spark->flags2 = (spark->flags2 & ~MF2_DONTDRAW)|(player->mo->eflags & MF2_DONTDRAW);
spark->flags2 = (spark->flags2 & ~MF2_DONTDRAW)|(player->mo->flags2 & MF2_DONTDRAW);
spark->eflags = (spark->eflags & ~MFE_VERTICALFLIP)|(player->mo->eflags & MFE_VERTICALFLIP);
spark->eflags = (spark->eflags & ~MFE_DRAWONLYFORP1)|(player->mo->eflags & MFE_DRAWONLYFORP1);
spark->eflags = (spark->eflags & ~MFE_DRAWONLYFORP2)|(player->mo->eflags & MFE_DRAWONLYFORP2);