r694 - trunk

lordhavoc at icculus.org lordhavoc at icculus.org
Sat Apr 8 17:49:27 EDT 2006


Author: lordhavoc
Date: 2006-04-08 17:49:27 -0400 (Sat, 08 Apr 2006)
New Revision: 694

Modified:
   trunk/r_main.c
Log:
fix stupid bug in last commit


Modified: trunk/r_main.c
===================================================================
--- trunk/r_main.c	2006-04-08 21:12:01 UTC (rev 693)
+++ trunk/r_main.c	2006-04-08 21:49:27 UTC (rev 694)
@@ -1923,7 +1923,7 @@
 	if (meshindex >= model->num_meshes)
 		return; // TODO: warning
 	mesh = model->data_meshes + meshindex;
-	if (!mesh->num_vertices < 1 || mesh->num_triangles < 1)
+	if (mesh->num_vertices < 1 || mesh->num_triangles < 1)
 		return; // TODO: warning
 	R.speeds_data.numdrawmesh_vertices += mesh->num_vertices;
 	R.speeds_data.numdrawmesh_triangles += mesh->num_triangles;




More information about the neither-commits mailing list