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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user