new cmd: changefollowplayer

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1922 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2008-05-10 20:40:31 +00:00
parent 60c656fb73
commit abe352c88f
+6
View File
@@ -890,8 +890,14 @@ void togglespect() // cycle through all spectating modes
spectate(mode);
}
void changefollowplayer(int shift)
{
findfollowplayer(shift);
}
COMMAND(spectate, ARG_1INT);
COMMAND(togglespect, ARG_NONE);
COMMAND(changefollowplayer, ARG_1INT);
int isalive() { return player1->state==CS_ALIVE ? 1 : 0; }
COMMANDN(alive, isalive, ARG_NONE);