Skip to content

Commit

Permalink
- Duke: Fix missed symbolic constant from 13d57cd.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjr4077au committed Nov 11, 2023
1 parent 34129e8 commit f399caa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/games/duke/src/player_r.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1215,7 +1215,7 @@ static void movement(DDukePlayer* const p, ESyncBits actions, sectortype* psect,
if (pact->getOffsetZ() + p->vel.Z >= floorz - i) // hit the ground
{
S_StopSound(DUKE_SCREAM, pact);
if (!p->insector() || p->cursector->lotag != 1)
if (!p->insector() || p->cursector->lotag != ST_1_ABOVE_WATER)
{
if (isRRRA()) p->MotoOnGround = 1;
if ((p->falling_counter > 62 || (isRRRA() && p->falling_counter > 2 && p->insector() && p->cursector->lotag == 802)) && !ud.god)
Expand Down

0 comments on commit f399caa

Please sign in to comment.