The first parameter of set_team is the victim (cf. line 1190)

This commit is contained in:
Romain Labolle 2011-02-21 22:18:51 +01:00 committed by GreYFoX
parent e6643607f4
commit 0209ef4126
2 changed files with 2 additions and 2 deletions

View file

@ -206,7 +206,7 @@ void CGameClient::OnConsoleInit()
Console()->Register("restart", "?i", CFGFLAG_SERVER, ConServerDummy, 0, "Restart in x seconds", 0);
Console()->Register("broadcast", "r", CFGFLAG_SERVER, ConServerDummy, 0, "Broadcast message", 0);
Console()->Register("say", "r", CFGFLAG_SERVER, ConServerDummy, 0, "Say in chat", 0);
Console()->Register("set_team", "ii", CFGFLAG_SERVER, ConServerDummy, 0, "Set team of player to team", 0);
Console()->Register("set_team", "vi", CFGFLAG_SERVER, ConServerDummy, 0, "Set team of player to team", 0);
Console()->Register("set_team_all", "i", CFGFLAG_SERVER, 0, 0, "Set team of all players to team", 0);
Console()->Register("addvote", "r", CFGFLAG_SERVER, ConServerDummy, 0, "Add a voting option", 0);
Console()->Register("clear_votes", "", CFGFLAG_SERVER, ConServerDummy, 0, "Clears the voting options", 0);

View file

@ -1323,7 +1323,7 @@ void CGameContext::OnConsoleInit()
Console()->Register("restart", "?i", CFGFLAG_SERVER|CFGFLAG_STORE, ConRestart, this, "", 3);
Console()->Register("broadcast", "r", CFGFLAG_SERVER, ConBroadcast, this, "", 2);
Console()->Register("say", "r", CFGFLAG_SERVER, ConSay, this, "", 3);
Console()->Register("set_team", "ii", CFGFLAG_SERVER, ConSetTeam, this, "", 2);
Console()->Register("set_team", "vi", CFGFLAG_SERVER, ConSetTeam, this, "", 2);
Console()->Register("set_team_all", "i", CFGFLAG_SERVER, ConSetTeamAll, this, "", 2);
Console()->Register("addvote", "r", CFGFLAG_SERVER, ConAddVote, this, "", 4);