- fixed flat debug helper.

This commit is contained in:
Christoph Oelckers 2023-09-23 14:03:59 +02:00
parent aa63e39fa5
commit 711813c36f

View file

@ -305,7 +305,7 @@ void HWFlat::PutFlat(HWDrawInfo *di, int whichplane)
void HWFlat::ProcessSector(HWDrawInfo *di, sectortype * frontsector, int section_, int which)
{
#ifdef _DEBUG
if (sectindex(sec) == gl_breaksec)
if (sectindex(frontsector) == gl_breaksec)
{
int a = 0;
}