mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-10 00:34:32 +00:00
Fix demo sync for Magicican UFO hits
This commit is contained in:
parent
17af9463ac
commit
d9051b3dd1
1 changed files with 3 additions and 1 deletions
|
|
@ -674,7 +674,9 @@ boolean Obj_SpecialUFODamage(mobj_t *ufo, mobj_t *inflictor, mobj_t *source, UIN
|
|||
|
||||
if (source->player)
|
||||
{
|
||||
UINT32 skinflags = skins[source->player->skin].flags;
|
||||
UINT32 skinflags = (demo.playback)
|
||||
? demo.skinlist[demo.currentskinid[(source->player-players)]].flags
|
||||
: skins[source->player->skin].flags;
|
||||
if (skinflags & SF_IRONMAN)
|
||||
SetRandomFakePlayerSkin(source->player, true);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue