r3287 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sat Jan 26 15:58:54 EST 2008


Author: div0
Date: 2008-01-26 15:58:53 -0500 (Sat, 26 Jan 2008)
New Revision: 3287

Modified:
   trunk/data/qcsrc/server/t_items.qc
Log:
looking in engine source told me I have to add 1024 to ent.colormap for it to actually do something. But why?


Modified: trunk/data/qcsrc/server/t_items.qc
===================================================================
--- trunk/data/qcsrc/server/t_items.qc	2008-01-26 15:54:59 UTC (rev 3286)
+++ trunk/data/qcsrc/server/t_items.qc	2008-01-26 20:58:53 UTC (rev 3287)
@@ -813,6 +813,7 @@
 	}
 	else
 		self.colormap = ceil(random() * 256) - 1;
+	self.colormap |= 1024; // RENDER_COLORMAPPED
 }
 
 void func_wall (void)




More information about the nexuiz-commits mailing list