[nexuiz-commits] r7689 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Tue Sep 8 08:59:16 EDT 2009
Author: div0
Date: 2009-09-08 08:59:16 -0400 (Tue, 08 Sep 2009)
New Revision: 7689
Modified:
trunk/data/qcsrc/server/t_items.qc
Log:
fix #523 (items being too bright)
Modified: trunk/data/qcsrc/server/t_items.qc
===================================================================
--- trunk/data/qcsrc/server/t_items.qc 2009-09-08 12:44:57 UTC (rev 7688)
+++ trunk/data/qcsrc/server/t_items.qc 2009-09-08 12:59:16 UTC (rev 7689)
@@ -48,7 +48,7 @@
// make the item look normal, and be touchable
e.model = e.mdl;
e.solid = SOLID_TRIGGER;
- e.effects = e.effects - (e.effects & (EF_ADDITIVE | EF_FULLBRIGHT));
+ e.effects &~= EF_ADDITIVE;
//e.colormod = '0 0 0';
e.alpha = 0;
@@ -63,7 +63,7 @@
// hide the item completely
e.model = string_null;
e.solid = SOLID_NOT;
- e.effects = e.effects - (e.effects & (EF_ADDITIVE | EF_FULLBRIGHT));
+ e.effects &~= EF_ADDITIVE;
//e.colormod = '0 0 0';
e.alpha = 0;
}
@@ -72,7 +72,7 @@
// make the item translucent green and not touchable
e.model = e.mdl;
e.solid = SOLID_NOT;
- e.effects = e.effects | EF_ADDITIVE | EF_FULLBRIGHT;
+ e.effects |= EF_ADDITIVE;
//e.colormod = '0.2 1 0.2';
e.alpha = 0.1;
}
More information about the nexuiz-commits
mailing list