From 6662c735d5e329b4421ee8918045c11dafd613c9 Mon Sep 17 00:00:00 2001 From: havoc Date: Sun, 8 Jun 2003 05:42:58 +0000 Subject: [PATCH] fix SOLID_BSP with non-BSP model error that can occur after a Host_Error (fixed by using Mod_CheckLoaded) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3071 d7cf8633-e32d-0410-b094-e92efae38249 --- world.c | 1 + 1 file changed, 1 insertion(+) diff --git a/world.c b/world.c index 3d63db31..31934669 100644 --- a/world.c +++ b/world.c @@ -343,6 +343,7 @@ void SV_LinkEdict (edict_t *ent, qboolean touch_triggers) model = sv.models[(int) ent->v->modelindex]; if (model != NULL) { + Mod_CheckLoaded(model); if (model->type != mod_brush) Host_Error("SOLID_BSP with non-BSP model\n"); -- 2.39.2