fixed bug in meshload. it would always expect it's loading obj files with quads.
[dosdemo] / src / meshload.c
index 7e3bd29..493af78 100644 (file)
@@ -200,7 +200,7 @@ int load_mesh(struct g3d_mesh *mesh, const char *fname)
                                                }
                                        }
                                }
-                               if(i >= 3) found_quad = 1;
+                               if(i > 3) found_quad = 1;
                        }
                        break;