mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-05 07:33:00 +00:00
Instawhip cooldown: don't flicker dark frames while whip is still out
This commit is contained in:
parent
2d7a224e8e
commit
3282a2581b
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ INT32 R_ThingLightLevel(mobj_t* thing)
|
|||
|
||||
if (player)
|
||||
{
|
||||
if (player->instaShieldCooldown && (player->rings <= 0) && (leveltime & 1))
|
||||
if (player->instaShieldCooldown && !player->whip && (player->rings <= 0) && (leveltime & 1))
|
||||
{
|
||||
// Darken on every other frame of instawhip cooldown
|
||||
lightlevel -= 128;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue