From: John Tsiombikas Date: Sat, 25 Aug 2018 04:49:57 +0000 (+0300) Subject: fixed bug in meshload. it would always expect it's loading obj files with quads. X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=dosdemo;a=commitdiff_plain;h=ebacdc829f41e02148da9af98564c17a881dfafa fixed bug in meshload. it would always expect it's loading obj files with quads. --- diff --git a/src/meshload.c b/src/meshload.c index 7e3bd29..493af78 100644 --- a/src/meshload.c +++ b/src/meshload.c @@ -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;