From 4133c4602cff85ebae10552ad8a903a54c2a5699 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 11 Nov 2023 09:51:30 +0100 Subject: [PATCH] use symbolic constant in two places close to the last commit. --- source/games/duke/src/player_d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/games/duke/src/player_d.cpp b/source/games/duke/src/player_d.cpp index 30548330e..ea0c152e9 100644 --- a/source/games/duke/src/player_d.cpp +++ b/source/games/duke/src/player_d.cpp @@ -705,7 +705,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 (p->falling_counter > 62 && !ud.god) quickkill(p);