File tree Expand file tree Collapse file tree 1 file changed +16
-5
lines changed
Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -700,14 +700,25 @@ namespace game
700700
701701 bool tvmode (bool check, bool force)
702702 {
703- if (!m_edit (gamemode) && (!check || !cameras.empty ()))
703+ if (!m_edit (gamemode) && (!check || !cameras.empty ()))
704704 {
705- if (!gs_playing (gamestate) && intermmode) return true ;
705+ if (!gs_playing (gamestate) && intermmode)
706+ {
707+ return true ;
708+ }
706709 else switch (player1.state )
707710 {
708- case CS_SPECTATOR: if (specmode || (force && focus != &player1 && followmode && followaim ())) return true ; break ;
709- case CS_WAITING: if ((waitmode && (!player1.lastdeath || lastmillis-player1.lastdeath >= 500 )) || (force && focus != &player1 && followmode && followaim ())) return true ; break ;
710- default : break ;
711+ case CS_SPECTATOR:
712+ if (specmode || (force && focus != &player1 && followmode && followaim ()))
713+ return true ;
714+ break ;
715+ case CS_WAITING:
716+ if ((waitmode && (!player1.lastdeath || lastmillis-player1.lastdeath >= 500 )) ||
717+ (force && focus != &player1 && followmode && followaim ()))
718+ return true ;
719+ break ;
720+ default :
721+ break ;
711722 }
712723 }
713724 return false ;
You can’t perform that action at this time.
0 commit comments