summaryrefslogtreecommitdiff
path: root/src/cgame
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgame')
-rw-r--r--src/cgame/cg_players.c13
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 );
}
/*