From 07a7ee916fd0eabc7d07e7a660587881edbe2a7d Mon Sep 17 00:00:00 2001 From: AJ Martinez Date: Tue, 6 Jun 2023 22:41:41 -0700 Subject: [PATCH] Only show instawhip cooldown when whip would be available --- src/r_spritefx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/r_spritefx.cpp b/src/r_spritefx.cpp index a5ca429d8..448c65974 100644 --- a/src/r_spritefx.cpp +++ b/src/r_spritefx.cpp @@ -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;