+ // don't need to init cs->glowmod because the defaultstate did that for us
+ //cs->glowmod[0] = cs->glowmod[1] = cs->glowmod[2] = 32;
+ val = PRVM_EDICTFIELDVALUE(ent, prog->fieldoffsets.glowmod);
+ if (val->vector[0] || val->vector[1] || val->vector[2])
+ {
+ i = (int)(val->vector[0] * 32.0f);cs->glowmod[0] = bound(0, i, 255);
+ i = (int)(val->vector[1] * 32.0f);cs->glowmod[1] = bound(0, i, 255);
+ i = (int)(val->vector[2] * 32.0f);cs->glowmod[2] = bound(0, i, 255);
+ }
+