mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-04-02 07:51:14 +00:00
don't show secret-flagged linedefs with special color on am_cheat 4 and above
This commit is contained in:
parent
da4752d7ec
commit
6d8bee9316
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue