mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +00:00
Only show instawhip cooldown when whip would be available
This commit is contained in:
parent
e6e8bf8c96
commit
07a7ee916f
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ INT32 R_ThingLightLevel(mobj_t* thing)
|
||||||
|
|
||||||
if (player)
|
if (player)
|
||||||
{
|
{
|
||||||
if (player->instaShieldCooldown && leveltime & 1)
|
if (player->instaShieldCooldown && (player->rings <= 0) && (leveltime & 1))
|
||||||
{
|
{
|
||||||
// Darken on every other frame of instawhip cooldown
|
// Darken on every other frame of instawhip cooldown
|
||||||
lightlevel -= 128;
|
lightlevel -= 128;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue