mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'reducevfx-ghostflash' into 'master'
ReduceVFX: Disable character flashing when viewing staff ghost replays using hidden characters. See merge request KartKrew/RingRacers!138
This commit is contained in:
commit
e4bb2b2fde
2 changed files with 2 additions and 3 deletions
|
|
@ -9758,7 +9758,7 @@ void K_KartResetPlayerColor(player_t *player)
|
|||
goto finalise;
|
||||
}
|
||||
|
||||
if (player->ringboost && (leveltime & 1)) // ring boosting
|
||||
if (player->ringboost && (leveltime & 1) && (((R_CanShowSkinInDemo(player->skin))) || ((!R_CanShowSkinInDemo(player->skin)) && !cv_reducevfx.value && demo.playback))) // ring boosting + messy condition stack for, specifically, disabling this when viewing a staff ghost replay of a currently hidden character
|
||||
{
|
||||
player->mo->colorized = true;
|
||||
fullbright = true;
|
||||
|
|
|
|||
|
|
@ -46,8 +46,7 @@ INT32 R_ThingLightLevel(mobj_t* thing)
|
|||
}
|
||||
|
||||
if (!R_CanShowSkinInDemo(((skin_t*)thing->skin)->skinnum)
|
||||
&& !thing->colorized
|
||||
&& !thing->hitlag)
|
||||
&& ((cv_reducevfx.value) || (!thing->colorized && !thing->hitlag)))
|
||||
{
|
||||
lightlevel -= 128;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue