allow overview spectate mode in single player

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6438 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Bukz
2011-05-14 21:12:07 +00:00
parent fc95d583f3
commit 7d9fc957cd
+2 -1
View File
@@ -1663,7 +1663,8 @@ void spectate(int mode)
void togglespect() // cycle through all spectating modes
{
if(m_botmode) spectate(SM_FLY);
if(m_botmode)
spectate(player1->spectatemode==SM_FLY ? SM_OVERVIEW : SM_FLY);
else
{
int mode;