diff --git a/source/src/clientgame.cpp b/source/src/clientgame.cpp index 01df9acd..1f00fc91 100644 --- a/source/src/clientgame.cpp +++ b/source/src/clientgame.cpp @@ -907,10 +907,14 @@ void spectate(int mode) // set new spect mode void togglespect() // cycle through all spectating modes { - int mode; - if(player1->spectatemode==SM_NONE) mode = SM_FOLLOW1ST; // start with 1st person spect - else mode = SM_FOLLOW1ST + (((player1->spectatemode-1) % (SM_NUM-SM_FOLLOW1ST))); - spectate(mode); + if(m_botmode) spectate(SM_FLY); + else + { + int mode; + if(player1->spectatemode==SM_NONE) mode = SM_FOLLOW1ST; // start with 1st person spect + else mode = SM_FOLLOW1ST + (((player1->spectatemode-1) % (SM_NUM-SM_FOLLOW1ST))); + spectate(mode); + } } void changefollowplayer(int shift)