summaryrefslogtreecommitdiff
path: root/src/openttd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r--src/openttd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp
index 0d8bead6b..0d3916ff2 100644
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -1269,7 +1269,7 @@ void StateGameLoop()
cur_company.Restore();
}
- assert(_current_company == _local_company);
+ assert(IsLocalCompany());
}
/** Create an autosave. The default name is "autosave#.sav". However with