diff options
author | Tim Angus <tim@ngus.net> | 2001-07-26 03:18:10 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2001-07-26 03:18:10 +0000 |
commit | 9423a79189a410fd24181643f6e8abcaa7e14e68 (patch) | |
tree | 2f61c865e629b8d7718ad788b1cf99d5459dadf4 /src | |
parent | e050b7d45483b74605d6250602d45d706cf0dfb6 (diff) |
Add a dyn light around humans
Diffstat (limited to 'src')
-rw-r--r-- | src/cgame/cg_players.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/cgame/cg_players.c b/src/cgame/cg_players.c index c19fccd2..9cb8c47a 100644 --- a/src/cgame/cg_players.c +++ b/src/cgame/cg_players.c @@ -1758,7 +1758,6 @@ void CG_Player( centity_t *cent ) { refEntity_t legs; refEntity_t torso; refEntity_t head; - refEntity_t aura; int clientNum; int renderfx; qboolean shadow; @@ -1933,16 +1932,8 @@ void CG_Player( centity_t *cent ) { // CG_AddPlayerWeapon( &torso, NULL, cent ); -/* aura.reType = RT_SPRITE; - VectorCopy( cent->lerpOrigin, aura.origin ); - aura.customShader = cgs.media.whiteShader; - aura.shaderRGBA[ 0 ] = 0xff; - aura.shaderRGBA[ 1 ] = 0xff; - aura.shaderRGBA[ 2 ] = 0xff; - aura.shaderRGBA[ 3 ] = 0xff; - aura.radius = 64; - - trap_R_AddRefEntityToScene( &aura );*/ + if( cg.predictedPlayerState.stats[ STAT_PTEAM ] == PTE_DROIDS ) + trap_R_AddAdditiveLightToScene( cent->lerpOrigin, 64, 0.1, 0.1, 0.4 ); } /* |