From bbcf64efcebe58a20132e5ff31187448bf8132dc Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Thu, 31 May 2007 01:56:55 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1037 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/rendercubes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/rendercubes.cpp b/source/src/rendercubes.cpp index 580df5d4..ad2d064b 100644 --- a/source/src/rendercubes.cpp +++ b/source/src/rendercubes.cpp @@ -87,7 +87,7 @@ void addstrip(int type, int tex, int start, int n) sb->tex = tex; } } - strips &s = (type==GL_QUADS ? sb->quads : (type==GL_TRIANGLE_STRIP ? sb->tristrips : sb->tris)); + strips &s = (type==GL_QUADS ? sb->quads : (type==GL_TRIANGLES ? sb->tris : sb->tristrips)); if(type!=GL_TRIANGLE_STRIP && s.first.length() && s.first.last()+s.count.last() == start) { s.count.last() += n;