forked from mirror/OpenTTD
(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool.
This commit is contained in:
@@ -252,7 +252,7 @@ uint32 IndustryGetVariable(const ResolverObject *object, byte variable, byte par
|
||||
byte colours;
|
||||
bool is_ai = false;
|
||||
|
||||
if (IsValidPlayer(industry->founder)) {
|
||||
if (IsValidPlayerID(industry->founder)) {
|
||||
const Player *p = GetPlayer(industry->founder);
|
||||
const Livery *l = &p->livery[LS_DEFAULT];
|
||||
|
||||
|
Reference in New Issue
Block a user