jumping corpse fix

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2644 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-09-16 07:56:16 +00:00
parent af6c5eb918
commit e39ca3418a
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1036,7 +1036,7 @@ 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)));
else mode = SM_FOLLOW1ST + ((player1->spectatemode - SM_FOLLOW1ST + 1) % (SM_NUM-SM_FOLLOW1ST));
spectate(mode);
}
}