From: havoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Date: Thu, 22 Feb 2007 11:19:51 +0000 (+0000)
Subject: fixed deluxemapping detection bug that made it never work
X-Git-Tag: xonotic-v0.1.0preview~3524
X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=de7bb6785cb11c9473ddfc8984745a44fa0f3366;p=xonotic%2Fdarkplaces.git

fixed deluxemapping detection bug that made it never work


git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6892 d7cf8633-e32d-0410-b094-e92efae38249
---

diff --git a/model_brush.c b/model_brush.c
index 3e0dddcc..0e7e0485 100644
--- a/model_brush.c
+++ b/model_brush.c
@@ -4809,7 +4809,7 @@ static void Mod_Q3BSP_LoadLightmaps(lump_t *l, lump_t *faceslump)
 			}
 		}
 	}
-	if (endlightmap < 2 || (endlightmap & 1))
+	if (endlightmap < 2)
 		loadmodel->brushq3.deluxemapping = false;
 
 	// q3map2 sometimes (or always?) makes a second blank lightmap for no