Fix for E3L4 (and possible others) corrupt sectors.

git-svn-id: https://svn.eduke32.com/eduke32@1314 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
plagman 2009-04-12 22:27:49 +00:00
parent 6d5571f320
commit f1f13f5eb6

View file

@ -2378,6 +2378,9 @@ static void polymer_buffertoplane(GLfloat* buffer, GLushort* indices, in
GLfloat vec1[5], vec2[5], norm, r;// BxN[3], NxT[3], TxB[3];
int32_t i;
if (indices && (indicecount < 3))
return; // corrupt sector (E3L4, I'm looking at you)
i = 0;
do
{