From d06529ef4d84ce90c90ed560a6b2f3525880c40e Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 17 Jul 2008 20:13:01 +0000 Subject: (svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool. --- 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 aed3a2d5a..4a68ae176 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) && IsValidPlayer(player)) { + if (IsHumanPlayer(player) && IsValidPlayerID(player)) { int64 args[1]; args[0] = player + 1; buff = GetStringWithArgs(buff, STR_7002_PLAYER, args, last); -- cgit v1.2.3-54-g00ecf