diff --git a/Quake/gl_model.c b/Quake/gl_model.c index abc3aeda..44879ef8 100644 --- a/Quake/gl_model.c +++ b/Quake/gl_model.c @@ -1035,7 +1035,12 @@ void Mod_LoadFaces (lump_t *l) { out->flags |= (SURF_DRAWTURB | SURF_DRAWTILED); Mod_PolyForUnlitSurface (out); - GL_SubdivideSurface (out); + /* FIXME: + With dedicated servers, we segfault in SubdividePolygon() at + the BoundPoly() call. The following dedicated server check is + a workaround, the actual problem is yet to be looked into. */ + if (cls.state != ca_dedicated) + GL_SubdivideSurface (out); } else if (out->texinfo->flags & TEX_MISSING) // texture is missing from bsp {