(svn r13731) -Codechange: make a pool of the array of players.
This commit is contained in:
@@ -959,7 +959,7 @@ static char* FormatString(char* buff, const char* str, const int64* argv, uint c
|
||||
PlayerID player = (PlayerID)GetInt32(&argv);
|
||||
|
||||
/* Nothing is added for AI or inactive players */
|
||||
if (IsHumanPlayer(player) && IsValidPlayerID(player)) {
|
||||
if (IsValidPlayerID(player) && IsHumanPlayer(player)) {
|
||||
int64 args[1];
|
||||
args[0] = player + 1;
|
||||
buff = GetStringWithArgs(buff, STR_7002_PLAYER, args, last);
|
||||
|
Reference in New Issue
Block a user