From cde65455acbc10a3f64bb9d43c03b37cdf9b1c55 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 18 Jul 2008 16:40:29 +0000 Subject: (svn r13731) -Codechange: make a pool of the array of players. --- src/strings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/strings.cpp') diff --git a/src/strings.cpp b/src/strings.cpp index 4a68ae176..a82321111 100644 --- a/src/strings.cpp +++ b/src/strings.cpp @@ -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); -- cgit v1.2.3-54-g00ecf