Merge branch 'master' into Glew_Version_For_Real

This commit is contained in:
Christoph Oelckers 2014-07-28 22:23:56 +02:00
commit beabfad293

View file

@ -631,16 +631,16 @@ void gl_PreprocessLevel()
int vtnum1 = int(l->v1 - vertexes);
int vtnum2 = int(l->v2 - vertexes);
if (checkmap[numsectors + vtnum1] < i)
if (checkmap[vtnum1] < i)
{
checkmap[numsectors + vtnum1] = i;
checkmap[vtnum1] = i;
sectors[i].e->vertices.Push(&vertexes[vtnum1]);
vertexes[vtnum1].dirty = true;
}
if (checkmap[numsectors + vtnum2] < i)
if (checkmap[vtnum2] < i)
{
checkmap[numsectors + vtnum2] = i;
checkmap[vtnum2] = i;
sectors[i].e->vertices.Push(&vertexes[vtnum2]);
vertexes[vtnum2].dirty = true;
}