1
0
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:
alberth
2010-07-31 21:43:07 +00:00
parent b65a9eb856
commit 7aabb887d4
5 changed files with 13 additions and 9 deletions

View File

@@ -154,7 +154,7 @@ void NetworkSyncCommandQueue(NetworkClientSocket *cs)
*/
void NetworkExecuteLocalCommandQueue()
{
assert(_current_company == _local_company);
assert(IsLocalCompany());
while (_local_command_queue != NULL) {