From 58c28be6d173440a0f074317b91765f8deaa1877 Mon Sep 17 00:00:00 2001 From: divverent Date: Sun, 5 Jul 2009 18:49:21 +0000 Subject: [PATCH] add an error message git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9044 d7cf8633-e32d-0410-b094-e92efae38249 --- sv_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sv_main.c b/sv_main.c index eb5bbda4..0453ec3a 100644 --- a/sv_main.c +++ b/sv_main.c @@ -2913,6 +2913,8 @@ void SV_SpawnServer (const char *server) dpsnprintf(sv.model_precache[i+1], sizeof(sv.model_precache[i+1]), "*%i", i); sv.models[i+1] = Mod_ForName (sv.model_precache[i+1], false, false, sv.modelname); } + if(i < sv.worldmodel->brush.numsubmodels) + Con_Printf("Too many submodels (MAX_MODELS is %i)\n", MAX_MODELS); // // load the rest of the entities -- 2.39.2