Skip to content

Commit

Permalink
Waterlevel check for "Make It Bun Dem" effect
Browse files Browse the repository at this point in the history
  • Loading branch information
ScriptedSnark committed Apr 6, 2024
1 parent 21dcff5 commit a7c5357
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions GSChaos/CFeatureMakeItBunDem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a7c5357

Please sign in to comment.