qbsp: don't bother subdiving skip surfaces

Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
Kevin Shanahan 2013-03-05 14:15:03 +10:30
parent 1432d99049
commit 7ca00ded1f
1 changed files with 2 additions and 0 deletions

View File

@ -53,6 +53,8 @@ SubdivideFace(face_t *f, face_t **prevptr)
tex = (texinfo_t *)pWorldEnt->lumps[BSPTEXINFO].data + f->texturenum;
if (tex->flags & TEX_SPECIAL)
return;
if (tex->flags & TEX_SKIP)
return;
for (axis = 0; axis < 2; axis++) {
while (1) {