Use MFE_UNDERWATER over p.powers[pw_underwater], since if you have a bubble or an elemental shield, since p.powers[pw_underwater] is how much air you have spent. Example, if the player spent 10 tics underwater, pw_underwater would be 10.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.