From a868844bdf0c2ac42e483d1f7bd02631309a94fa Mon Sep 17 00:00:00 2001 From: Alug Date: Sun, 10 May 2026 20:14:28 +0200 Subject: [PATCH] remove outdated comment about precipmobj --- src/d_netcmd.c | 1 - src/p_mobj.h | 4 ---- src/p_slopes.c | 3 ++- src/p_user.c | 3 ++- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/src/d_netcmd.c b/src/d_netcmd.c index 76495a09e..42f14f3cc 100644 --- a/src/d_netcmd.c +++ b/src/d_netcmd.c @@ -5816,7 +5816,6 @@ static void BaseNumLaps_OnChange(void) } } - static void KartFrantic_OnChange(void) { if ((boolean)cv_kartfrantic.value != franticitems && gamestate == GS_LEVEL && leveltime > starttime) diff --git a/src/p_mobj.h b/src/p_mobj.h index 892ffdad4..682b2fb1b 100644 --- a/src/p_mobj.h +++ b/src/p_mobj.h @@ -421,10 +421,6 @@ typedef struct mobj_s // // For precipitation // -// Sometimes this is casted to a mobj_t, -// so please keep the start of the -// structure the same. -// typedef struct precipmobj_s { // List: thinker links. diff --git a/src/p_slopes.c b/src/p_slopes.c index 627052236..ac3a56c17 100644 --- a/src/p_slopes.c +++ b/src/p_slopes.c @@ -166,7 +166,8 @@ static void P_ReconfigureVertexSlope(pslope_t *slope) slope->real_xydirection = R_PointToAngle2(0, 0, slope->d.x, slope->d.y)+ANGLE_180; slope->real_zangle = InvAngle(R_PointToAngle2(0, 0, FRACUNIT, slope->zdelta)); - if (slope->normal.x == 0 && slope->normal.y == 0) // Set some defaults for a non-sloped "slope" + // Set some defaults for a non-sloped "slope" + if (slope->normal.x == 0 && slope->normal.y == 0) { slope->zangle = slope->xydirection = 0; slope->zdelta = slope->d.x = slope->d.y = 0; diff --git a/src/p_user.c b/src/p_user.c index 3b2f90dd7..ae5983935 100644 --- a/src/p_user.c +++ b/src/p_user.c @@ -1393,7 +1393,8 @@ static void P_CheckBustableBlocks(player_t *player) for (rover = node->m_sector->ffloors; rover; rover = rover->next) { - if (!(rover->flags & FF_EXISTS)) continue; + if (!(rover->flags & FF_EXISTS)) + continue; if ((rover->flags & FF_BUSTUP)/* && !rover->master->frontsector->crumblestate*/) {