diff --git a/src/hardware/hw_bsp.c b/src/hardware/hw_bsp.c index fc81bbd9e1ddd710d7f1b6f019e5f67bc8f4e652..8bd6b4f8bc409c1a6d086f6348367250e74ba83b 100644 --- a/src/hardware/hw_bsp.c +++ b/src/hardware/hw_bsp.c @@ -970,6 +970,7 @@ void HWR_CreatePlanePolygons(INT32 bspnum) polyvertex_t *rootpv; size_t i; fixed_t rootbbox[4]; + INT32 j = 0; CONS_Debug(DBG_RENDER, "Creating polygons, please wait...\n"); ls_count = ls_percent = 0; // reset the loading status @@ -1027,7 +1028,7 @@ void HWR_CreatePlanePolygons(INT32 bspnum) AdjustSegs(); CONS_Printf("\nEXTRASUBSECTORS\n\n"); - INT32 j = 0; + for (j = 0; j < bspnum; j++) { CONS_Printf("ESS-%d> ", j);