]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
use Con_Printf instead of Host_Error when an unknown model format is encountered
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 13 May 2005 23:49:16 +0000 (23:49 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 13 May 2005 23:49:16 +0000 (23:49 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5286 d7cf8633-e32d-0410-b094-e92efae38249

model_shared.c

index da90f78505d49fdb39e8bb207962c5e3e7680356..81fd300c1868d0b5d2b22d7e7ab2c60a0e94e303 100644 (file)
@@ -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)