diff --git a/Src/Graphics/New3D/New3D.cpp b/Src/Graphics/New3D/New3D.cpp index ccb5342..96f267e 100644 --- a/Src/Graphics/New3D/New3D.cpp +++ b/Src/Graphics/New3D/New3D.cpp @@ -1497,7 +1497,7 @@ void CNew3D::ClipPolygon(ClipPoly& clipPoly, Plane planes[5]) in = &clipPoly; out = &temp; - for (int i = 0; i < 5; i++) { + for (int i = 0; i < 4; i++) { //================= bool currentIn;