mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-10 14:52:08 +00:00
Minor cleanup. (purely cosmetic)
This commit is contained in:
parent
7077ac4582
commit
b0f65051b1
1 changed files with 2 additions and 2 deletions
|
@ -591,11 +591,11 @@ void SV_WriteEntitiesToClient (client_t *client, sizebuf_t *msg)
|
||||||
// Ender: EXTEND (QSG - Begin)
|
// Ender: EXTEND (QSG - Begin)
|
||||||
{
|
{
|
||||||
eval_t *val;
|
eval_t *val;
|
||||||
|
state->alpha = 255;
|
||||||
|
state->scale = 16;
|
||||||
state->glowsize = 0;
|
state->glowsize = 0;
|
||||||
state->glowcolor = 254;
|
state->glowcolor = 254;
|
||||||
state->colormod = 255;
|
state->colormod = 255;
|
||||||
state->alpha = 255;
|
|
||||||
state->scale = 16;
|
|
||||||
|
|
||||||
if ((val = GETEDICTFIELDVALUE(ent, eval_alpha)) && val->_float != 0)
|
if ((val = GETEDICTFIELDVALUE(ent, eval_alpha)) && val->_float != 0)
|
||||||
state->alpha = bound(0, val->_float, 1) * 255.0;
|
state->alpha = bound(0, val->_float, 1) * 255.0;
|
||||||
|
|
Loading…
Reference in a new issue