From: havoc Date: Wed, 3 Mar 2004 07:05:05 +0000 (+0000) Subject: fix Q3BSP submodels to have no GetPVS function (or assorted other functions which... X-Git-Tag: xonotic-v0.1.0preview~6043 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=406feaa034d99f0c62f15a7d015724ab55ab876c;p=xonotic%2Fdarkplaces.git 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 --- 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;