better spectate mode fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7590 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -1698,7 +1698,7 @@ void setfollowplayer(int cn)
|
||||
// set new spect mode
|
||||
void spectatemode(int mode)
|
||||
{
|
||||
if(player1->state != CS_SPECTATE || (!m_teammode && !team_isspect(player1->team) && servstate.mastermode == MM_MATCH)) return; // during ffa matches only SPECTATORS can spectate
|
||||
if((player1->state != CS_DEAD && player1->state != CS_SPECTATE && !team_isspect(player1->team)) || (!m_teammode && !team_isspect(player1->team) && servstate.mastermode == MM_MATCH)) return; // during ffa matches only SPECTATORS can spectate
|
||||
if(mode == player1->spectatemode) return;
|
||||
showscores(false);
|
||||
switch(mode)
|
||||
|
||||
Reference in New Issue
Block a user