Skip to content

Commit

Permalink
don't show secret-flagged linedefs with special color on am_cheat 4 a…
Browse files Browse the repository at this point in the history
…nd above
  • Loading branch information
XaserAcheron authored and coelckers committed May 16, 2024
1 parent da4752d commit 6d8bee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/am_map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2624,7 +2624,7 @@ void DAutomap::drawWalls (bool allmap)
}
else if (line.flags & ML_SECRET)
{ // secret door
if (am_cheat != 0 && line.backsector != nullptr)
if (am_cheat != 0 && am_cheat < 4 && line.backsector != nullptr)
drawMline(&l, AMColors.SecretWallColor);
else
drawMline(&l, AMColors.WallColor);
Expand Down

0 comments on commit 6d8bee9

Please sign in to comment.