summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2009-02-20 00:02:25 +0000
committeryexo <yexo@openttd.org>2009-02-20 00:02:25 +0000
commit5223212624a01a5cc8f60931e40142377968daf4 (patch)
tree305c7d3c2c3385ae345ad636aba8030548fccd2e
parent14f6bd6ce1908fef32cbf522d4502779a7f67bbc (diff)
downloadopenttd-5223212624a01a5cc8f60931e40142377968daf4.tar.xz
(svn r15528) -Fix (r15525): Check should be the other way around (thanks SmatZ).
-rw-r--r--src/saveload/ai_sl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload/ai_sl.cpp b/src/saveload/ai_sl.cpp
index 7899c6b0b..b5ee5da64 100644
--- a/src/saveload/ai_sl.cpp
+++ b/src/saveload/ai_sl.cpp
@@ -58,7 +58,7 @@ static void Load_AIPL()
_ai_saveload_version = -1;
SlObject(NULL, _ai_company);
- if (!_networking || _network_server) {
+ if (_networking && !_network_server) {
AIInstance::LoadEmpty();
continue;
}