only fly-spectate in bot modes, because they walk too ugly for 1st person

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2042 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2008-05-18 18:05:09 +00:00
parent 528882fa56
commit b6fec07e9a
+8 -4
View File
@@ -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)