]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - clvm_cmds.c
miscellaneous fixes from graphitemaster
[xonotic/darkplaces.git] / clvm_cmds.c
index c9cecff39a20590d61ce1c63550ef4c1210decf7..1d3696acab493ab69a398938aa55bf7928d355ed 100644 (file)
@@ -3560,7 +3560,7 @@ void Debug_PolygonVertex(float x, float y, float z, float s, float t, float r, f
                return;
        }
 
-       if(debugPolys.begin_vertices > VMPOLYGONS_MAXPOINTS)
+       if(debugPolys.begin_vertices >= VMPOLYGONS_MAXPOINTS)
        {
                Con_Printf("Debug_PolygonVertex: may have %i vertices max\n", VMPOLYGONS_MAXPOINTS);
                return;