]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_shared.c
fix some crashes with server commands (kick, view* commands)
[xonotic/darkplaces.git] / 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)