Don't load sprites in dedicated servers as it generally crashes us.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3625 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2010-11-07 02:18:37 +00:00
parent 35468b7a19
commit 103efed5e2

View file

@ -3342,6 +3342,11 @@ qboolean RMod_LoadSpriteModel (model_t *mod, void *buffer)
mod->maxs[0] = mod->maxs[1] = psprite->maxwidth/2; mod->maxs[0] = mod->maxs[1] = psprite->maxwidth/2;
mod->mins[2] = -psprite->maxheight/2; mod->mins[2] = -psprite->maxheight/2;
mod->maxs[2] = psprite->maxheight/2; mod->maxs[2] = psprite->maxheight/2;
if (qrenderer == QR_NONE)
{
mod->type = mod_dummy;
return true;
}
if (version == SPRITEHL_VERSION) if (version == SPRITEHL_VERSION)
{ {