diff options
author | rubidium <rubidium@openttd.org> | 2008-07-17 20:13:01 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-07-17 20:13:01 +0000 |
commit | 6898a76c5f80ef1aa65106f98d5e36002bc0ddda (patch) | |
tree | ca5029fca4c5aee49145e4bd3e3f0f81df8ccabc /src/strings.cpp | |
parent | 83824f4c86b01c93465c0ab71dc84e03f9883e5f (diff) | |
download | openttd-6898a76c5f80ef1aa65106f98d5e36002bc0ddda.tar.xz |
(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool.
Diffstat (limited to 'src/strings.cpp')
-rw-r--r-- | src/strings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |