From 406feaa034d99f0c62f15a7d015724ab55ab876c Mon Sep 17 00:00:00 2001 From: havoc Date: Wed, 3 Mar 2004 07:05:05 +0000 Subject: [PATCH] fix Q3BSP submodels to have no GetPVS function (or assorted other functions which would fail) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3960 d7cf8633-e32d-0410-b094-e92efae38249 --- model_brush.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/model_brush.c b/model_brush.c index ca02eaad..f923c3fb 100644 --- a/model_brush.c +++ b/model_brush.c @@ -5510,6 +5510,11 @@ void Mod_Q3BSP_Load(model_t *mod, void *buffer) // textures and memory belong to the main model mod->texturepool = NULL; mod->mempool = NULL; + mod->brush.GetPVS = NULL; + mod->brush.FatPVS = NULL; + mod->brush.BoxTouchingPVS = NULL; + mod->brush.LightPoint = NULL; + mod->brush.FindNonSolidLocation = Mod_Q3BSP_FindNonSolidLocation; } mod->brushq3.data_thismodel = loadmodel->brushq3.data_models + i; mod->brushq3.submodel = i; -- 2.39.2