]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix SOLID_BSP with non-BSP model error that can occur after a Host_Error (fixed by...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 8 Jun 2003 05:42:58 +0000 (05:42 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 8 Jun 2003 05:42:58 +0000 (05:42 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3071 d7cf8633-e32d-0410-b094-e92efae38249

world.c

diff --git a/world.c b/world.c
index 3d63db31c71ff951b2f9050078e0570bd7340a5c..3193466952d9050b2cd6831339d17018f3a84efe 100644 (file)
--- 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");