From f399caa69d73969d30c654a222f9022b807bea0a Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Sun, 12 Nov 2023 08:42:25 +1100 Subject: [PATCH] - Duke: Fix missed symbolic constant from 13d57cdbd61b5c97e2471d7009ff15fa9743d5f1. --- source/games/duke/src/player_r.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/games/duke/src/player_r.cpp b/source/games/duke/src/player_r.cpp index 371fce386..7be3cac50 100644 --- a/source/games/duke/src/player_r.cpp +++ b/source/games/duke/src/player_r.cpp @@ -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)