- fixed typo in ceiling render hack code.

This commit is contained in:
Christoph Oelckers 2018-11-11 22:22:29 +01:00
parent 59790302ec
commit 65a6866a1b

View file

@ -60,7 +60,7 @@ void HWDrawInfo::DispatchRenderHacks()
} }
TMap<int, gl_subsectorrendernode*>::Iterator oci(otherCeilingPlanes); TMap<int, gl_subsectorrendernode*>::Iterator oci(otherCeilingPlanes);
while (ofi.NextPair(pair)) while (oci.NextPair(pair))
{ {
auto sec = hw_FakeFlat(&level.sectors[pair->Key], in_area, false); auto sec = hw_FakeFlat(&level.sectors[pair->Key], in_area, false);
glflat.ProcessSector(this, sec, SSRF_RENDERCEILING | SSRF_PLANEHACK); glflat.ProcessSector(this, sec, SSRF_RENDERCEILING | SSRF_PLANEHACK);