mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-21 05:29:11 +00:00
(svn r20269) -Codechange: Use IsLocalCompany() everywhere, document the function and two company globals.
This commit is contained in:
@@ -154,7 +154,7 @@ void NetworkSyncCommandQueue(NetworkClientSocket *cs)
|
||||
*/
|
||||
void NetworkExecuteLocalCommandQueue()
|
||||
{
|
||||
assert(_current_company == _local_company);
|
||||
assert(IsLocalCompany());
|
||||
|
||||
while (_local_command_queue != NULL) {
|
||||
|
||||
|
Reference in New Issue
Block a user