mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-11 15:52:30 +00:00
Fixed specmodes when nobody is alive
This commit is contained in:
parent
acb728931f
commit
8bf58f7485
1 changed files with 8 additions and 1 deletions
|
@ -5,6 +5,9 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// $Log$
|
||||
// Revision 1.94 2002/05/20 05:11:56 jbravo
|
||||
// Fixed specmodes when nobody is alive
|
||||
//
|
||||
// Revision 1.93 2002/05/20 04:59:33 jbravo
|
||||
// Lots of small fixes.
|
||||
//
|
||||
|
@ -1087,7 +1090,11 @@ void MakeSpectator(gentity_t *ent)
|
|||
client->ps.stats[STAT_RQ3] &= ~RQ3_ZCAM;
|
||||
}
|
||||
} else {
|
||||
client->sess.spectatorState = client->specMode;
|
||||
if (OKtoFollow (ent - g_entities)) {
|
||||
client->sess.spectatorState = client->specMode;
|
||||
} else {
|
||||
client->sess.spectatorState = SPECTATOR_FREE;
|
||||
}
|
||||
}
|
||||
ClientSpawn(ent);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue