From: havoc Date: Thu, 22 Feb 2007 11:25:51 +0000 (+0000) Subject: really fixed deluxemapping this time X-Git-Tag: xonotic-v0.1.0preview~3523 X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=457882d8ab1fa2a9c8964d1cf3e3efbefac085ae really fixed deluxemapping this time git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6893 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/model_brush.c b/model_brush.c index 0e7e0485..22d60f4e 100644 --- a/model_brush.c +++ b/model_brush.c @@ -4790,6 +4790,8 @@ static void Mod_Q3BSP_LoadLightmaps(lump_t *l, lump_t *faceslump) // reason when only one lightmap is used, which can throw off the // deluxemapping detection method, so check 2-lightmap bsp's specifically // to see if the second lightmap is blank, if so it is not deluxemapped. + loadmodel->brushq3.deluxemapping = !(count & 1); + loadmodel->brushq3.deluxemapping_modelspace = true; endlightmap = 0; if (loadmodel->brushq3.deluxemapping) {