From: havoc Date: Fri, 13 May 2005 23:49:16 +0000 (+0000) Subject: use Con_Printf instead of Host_Error when an unknown model format is encountered X-Git-Tag: xonotic-v0.1.0preview~4895 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ab66aed4f21b63badfa789135c62ca28b33cd048;p=xonotic%2Fdarkplaces.git use Con_Printf instead of Host_Error when an unknown model format is encountered git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5286 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/model_shared.c b/model_shared.c index da90f785..81fd300c 100644 --- a/model_shared.c +++ b/model_shared.c @@ -201,7 +201,7 @@ static model_t *Mod_LoadModel(model_t *mod, qboolean crash, qboolean checkdisk, else if (!memcmp(buf, "ZYMOTICMODEL", 12)) Mod_ZYMOTICMODEL_Load(mod, buf); else if (strlen(mod->name) >= 4 && !strcmp(mod->name - 4, ".map")) Mod_MAP_Load(mod, buf); else if (num == BSPVERSION || num == 30) Mod_Q1BSP_Load(mod, buf); - else Host_Error("Mod_LoadModel: model \"%s\" is of unknown/unsupported type\n", mod->name); + else Con_Printf("Mod_LoadModel: model \"%s\" is of unknown/unsupported type\n", mod->name); Mem_Free(buf); } else if (crash)