From 4e606fc7ded8a88f2f2fc6e836528563d623b8e9 Mon Sep 17 00:00:00 2001 From: Alug Date: Mon, 10 Aug 2026 15:50:25 +0200 Subject: [PATCH] fix indentation --- src/p_inter.c | 1 + src/p_maputl.cpp | 2 +- src/p_mobj.h | 2 +- src/p_setup.c | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/p_inter.c b/src/p_inter.c index 0cf70f7a0..e6f753b56 100644 --- a/src/p_inter.c +++ b/src/p_inter.c @@ -2632,6 +2632,7 @@ void P_PlayerRingBurst(player_t *player, INT32 num_rings) if (i & 1) P_SetObjectMomZ(mo, ns, true); } + if (player->mo->eflags & MFE_VERTICALFLIP) mo->momz *= -1; } diff --git a/src/p_maputl.cpp b/src/p_maputl.cpp index 6e7f926b3..122311903 100644 --- a/src/p_maputl.cpp +++ b/src/p_maputl.cpp @@ -466,7 +466,7 @@ void P_LineOpening(line_t *linedef, mobj_t *mobj) // Check for collision with front side's midtexture if Effect 4 is set if (linedef->flags & ML_EFFECT4 && !linedef->polyobj) // don't do anything for polyobjects! ...for now - { + { side_t *side = &sides[linedef->sidenum[0]]; fixed_t textop, texbottom, texheight; fixed_t texmid, delta1, delta2; diff --git a/src/p_mobj.h b/src/p_mobj.h index c348c925c..face77ed2 100644 --- a/src/p_mobj.h +++ b/src/p_mobj.h @@ -113,7 +113,7 @@ typedef enum // Don't use the blocklinks (inert but displayable) MF_NOBLOCKMAP = 1<<4, // Thin, paper-like collision bound (for visual equivalent, see FF_PAPERSPRITE) - MF_PAPERCOLLISION = 1<<5, + MF_PAPERCOLLISION = 1<<5, // You can push this object. It can activate switches and things by pushing it on top. MF_PUSHABLE = 1<<6, // Object is a boss. diff --git a/src/p_setup.c b/src/p_setup.c index 17a0b9d77..4667f5af5 100644 --- a/src/p_setup.c +++ b/src/p_setup.c @@ -3065,7 +3065,7 @@ boolean P_SetupLevel(boolean fromnetsave, boolean reloadinggamestate) // Don't include these in the fade! char tx[64]; V_DrawSmallString(1, 191, V_ALLOWLOWERCASE, M_GetText("Speeding off to...")); - snprintf(tx, sizeof(tx), "%s%s%s", + snprintf(tx, sizeof(tx)-1, "%s%s%s", mapheader->lvlttl, (strlen(mapheader->zonttl) > 0) ? va(" %s",mapheader->zonttl) : // SRB2kart ((mapheader->levelflags & LF_NOZONE) ? "" : " Zone"),