- Duke: Fix missed symbolic constant from 13d57cdbd6.

This commit is contained in:
Mitchell Richters 2023-11-12 08:42:25 +11:00 committed by Christoph Oelckers
parent f6bca4177c
commit 376b695fb6

View file

@ -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)