Skip to content

Commit

Permalink
Blood: Use tick constant for underwater breathing variable
Browse files Browse the repository at this point in the history
  • Loading branch information
tmyqlfpir authored and Hendricks266 committed Oct 23, 2024
1 parent 704a771 commit 2a1ffe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/blood/src/actor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5845,7 +5845,7 @@ void actProcessSprites(void)
{
const char bDivingSuit = packItemActive(pPlayer, kPackDivingSuit);
if (bDivingSuit || pPlayer->godMode)
pPlayer->underwaterTime = 1200;
pPlayer->underwaterTime = kTicRate*10;
else
pPlayer->underwaterTime = ClipLow(pPlayer->underwaterTime-kTicsPerFrame, 0);
if (pPlayer->underwaterTime < 1080 && packCheckItem(pPlayer, kPackDivingSuit) && !bDivingSuit)
Expand Down

0 comments on commit 2a1ffe3

Please sign in to comment.