From a7c5357bc38d64e611c9dd88e8fa2cb5b6a56352 Mon Sep 17 00:00:00 2001 From: ScriptedSnark <51358194+ScriptedSnark@users.noreply.github.com> Date: Sat, 6 Apr 2024 13:26:37 +0500 Subject: [PATCH] Waterlevel check for "Make It Bun Dem" effect --- GSChaos/CFeatureMakeItBunDem.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/GSChaos/CFeatureMakeItBunDem.cpp b/GSChaos/CFeatureMakeItBunDem.cpp index b3a5c1ed..f74ee4d7 100644 --- a/GSChaos/CFeatureMakeItBunDem.cpp +++ b/GSChaos/CFeatureMakeItBunDem.cpp @@ -42,6 +42,9 @@ void CFeatureMakeItBunDem::OnFrame(double time) static double burnTimer = gChaos.GetGlobalTime() + 0.6; static double flameTimer = gChaos.GetGlobalTime() + 0.1; + if ((*sv_player)->v.waterlevel > 1) + return; + if (gChaos.GetGlobalTime() > burnTimer) { g_flameSpr = PRECACHE_MODEL("../chaos/flame.spr"); // smh