mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-02-17 00:52:00 +00:00
Fix for dark models bug.
This commit is contained in:
parent
9f5df4afa6
commit
f6006e7cef
1 changed files with 4 additions and 4 deletions
|
@ -545,11 +545,11 @@ void R_DrawAliasModel (entity_t *e)
|
||||||
shadecolor[0] = currententity->colormod[0];
|
shadecolor[0] = currententity->colormod[0];
|
||||||
shadecolor[1] = currententity->colormod[1];
|
shadecolor[1] = currententity->colormod[1];
|
||||||
shadecolor[2] = currententity->colormod[2];
|
shadecolor[2] = currententity->colormod[2];
|
||||||
if (lighthalf)
|
if (!lighthalf)
|
||||||
{
|
{
|
||||||
shadecolor[0] *= 0.5;
|
shadecolor[0] *= 2.0;
|
||||||
shadecolor[1] *= 0.5;
|
shadecolor[1] *= 2.0;
|
||||||
shadecolor[2] *= 0.5;
|
shadecolor[2] *= 2.0;
|
||||||
}
|
}
|
||||||
|
|
||||||
VectorCopy (currententity->origin, r_entorigin);
|
VectorCopy (currententity->origin, r_entorigin);
|
||||||
|
|
Loading…
Reference in a new issue