summaryrefslogtreecommitdiff
path: root/source/sw_alias.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2008-04-04 20:45:13 +0000
committerAndrey Nazarov <skuller@skuller.net>2008-04-04 20:45:13 +0000
commit22fd6efeeb7ee918e0d1ffb75f6292077ce27816 (patch)
tree7b355fc4aa8a7c63aac93af54fb229f678ef552c /source/sw_alias.c
parent7ec50f12252b4dfb97f3249ccf05a771b98785c1 (diff)
Added support for drawing colored text via `draw' client command.
Cvar_Get now resets user defined cvar values for read-only cvars. Sever and game DLL features are now advertised via cvars instead of exports.
Diffstat (limited to 'source/sw_alias.c')
-rw-r--r--source/sw_alias.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/sw_alias.c b/source/sw_alias.c
index 660c320..be24ad2 100644
--- a/source/sw_alias.c
+++ b/source/sw_alias.c
@@ -417,7 +417,8 @@ void R_AliasTransformFinalVerts( int numpoints, finalvert_t *fv, dtrivertx_t *ol
for ( i = 0; i < numpoints; i++, fv++, oldv++, newv++ )
{
int temp;
- float lightcos, *plightnormal;
+ float lightcos;
+ const float *plightnormal;
vec3_t lerped_vert;
lerped_vert[0] = r_lerp_move[0] + oldv->v[0]*r_lerp_backv[0] + newv->v[0]*r_lerp_frontv[0];