From fdb13ffdfd35a00a4523939cae374ee01aba7887 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 3 Feb 2022 19:15:46 +0100 Subject: [PATCH] - first simple batch of wrapper removal. --- source/core/automap.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/core/automap.cpp b/source/core/automap.cpp index 6ab42502d..e7574662b 100644 --- a/source/core/automap.cpp +++ b/source/core/automap.cpp @@ -389,10 +389,10 @@ bool ShowRedLine(int j, int i) } if (automapMode == am_full) { - if (sector[i].int_floorz() != sector[i].int_ceilingz()) - if (wal->nextSector()->int_floorz() != wal->nextSector()->int_ceilingz()) + if (sector[i].floorz != sector[i].ceilingz) + if (wal->nextSector()->floorz != wal->nextSector()->ceilingz) if (((wal->cstat | wal->nextWall()->cstat) & (CSTAT_WALL_MASKED | CSTAT_WALL_1WAY)) == 0) - if (sector[i].int_floorz() == wal->nextSector()->int_floorz()) + if (sector[i].floorz == wal->nextSector()->floorz) return false; if (sector[i].floorpicnum != wal->nextSector()->floorpicnum) return false;