Only show instawhip cooldown when whip would be available

This commit is contained in:
AJ Martinez 2023-06-06 22:41:41 -07:00
parent e6e8bf8c96
commit 07a7ee916f

View file

@ -20,7 +20,7 @@ INT32 R_ThingLightLevel(mobj_t* thing)
if (player)
{
if (player->instaShieldCooldown && leveltime & 1)
if (player->instaShieldCooldown && (player->rings <= 0) && (leveltime & 1))
{
// Darken on every other frame of instawhip cooldown
lightlevel -= 128;