diff --git a/src/r_portal.c b/src/r_portal.c index 00baad528..f403c17c7 100644 --- a/src/r_portal.c +++ b/src/r_portal.c @@ -333,7 +333,7 @@ void Portal_AddSkyboxPortals(void) INT32 i; UINT16 count = 0; - for (i = 0; i < MAXVISPLANES; i++, pl++) + for (i = 0; i < MAXVISPLANES; i++) { for (pl = visplanes[i]; pl; pl = pl->next) {