mirror of
https://github.com/unknownworlds/NS.git
synced 2024-11-22 20:51:36 +00:00
o Fixed a bug where players with flashlight on would spectate other players as cloaked.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@558 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
parent
9f4389bd5c
commit
f98365232b
2 changed files with 2 additions and 2 deletions
|
@ -2810,7 +2810,7 @@ int AddToFullPack( struct entity_state_s *state, int e, edict_t *ent, edict_t *h
|
|||
marineGlow = true;
|
||||
}
|
||||
|
||||
if(( marineGlow || (ent->v.team == theReceivingPlayer->pev->team)) && (ent != theReceivingPlayer->edict()) && (ent->v.team != 0))
|
||||
if(( marineGlow || (ent->v.team == theReceivingPlayer->pev->team)) && (ent != theReceivingPlayer->edict()) && (ent->v.team != TEAM_IND) && (ent->v.team != TEAM_SPECT ))
|
||||
{
|
||||
state->rendermode = kRenderTransAdd;
|
||||
state->renderamt = 150;
|
||||
|
|
|
@ -1338,7 +1338,7 @@ bool AvHPlayer::ExecuteMessage(AvHMessageID inMessageID, bool inInstantaneous, b
|
|||
case ALIEN_ABILITY_LEAP:
|
||||
this->StartLeap();
|
||||
break;
|
||||
case 100:
|
||||
case IMPULSE_FLASHLIGHT:
|
||||
// Eat flashlight event. Add special mode for alien view here?
|
||||
if(!this->mAlienSightActive)
|
||||
PLAYBACK_EVENT_FULL(FEV_HOSTONLY, this->edict(), gAlienSightOnEventID, 0, this->pev->origin, (float *)&g_vecZero, this->GetAlienAdjustedEventVolume(), 0.0, 0, 0, 0, 0 );
|
||||
|
|
Loading…
Reference in a new issue