mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 22:01:50 +00:00
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:
parent
35468b7a19
commit
103efed5e2
1 changed files with 5 additions and 0 deletions
|
@ -3342,6 +3342,11 @@ qboolean RMod_LoadSpriteModel (model_t *mod, void *buffer)
|
|||
mod->maxs[0] = mod->maxs[1] = psprite->maxwidth/2;
|
||||
mod->mins[2] = -psprite->maxheight/2;
|
||||
mod->maxs[2] = psprite->maxheight/2;
|
||||
if (qrenderer == QR_NONE)
|
||||
{
|
||||
mod->type = mod_dummy;
|
||||
return true;
|
||||
}
|
||||
|
||||
if (version == SPRITEHL_VERSION)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue