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