mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-22 05:59:10 +00:00
(svn r16352) -Codechange: use PoolItem::GetIfValid() instead of PoolItem::IsValidID() and PoolItem::Get()
This commit is contained in:
@@ -97,7 +97,7 @@ extern void StateGameLoop();
|
||||
*/
|
||||
NetworkClientInfo *NetworkFindClientInfoFromIndex(ClientIndex index)
|
||||
{
|
||||
return NetworkClientInfo::IsValidID(index) ? NetworkClientInfo::Get(index) : NULL;
|
||||
return NetworkClientInfo::GetIfValid(index);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user