mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-10 19:01:50 +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)
|
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)
|
if (skinflags & SF_IRONMAN)
|
||||||
SetRandomFakePlayerSkin(source->player, true);
|
SetRandomFakePlayerSkin(source->player, true);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue