summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2011-06-13 06:13:57 +0000
committerterkhen <terkhen@openttd.org>2011-06-13 06:13:57 +0000
commit729d786d5eb136e780def10153a50ba38180ee4a (patch)
tree2fc0021843507c00aa730bfc7aa937b881ff3664 /src
parent050a212195f8e423d5cb28a018326271e165e98d (diff)
downloadopenttd-729d786d5eb136e780def10153a50ba38180ee4a.tar.xz
(svn r22573) -Fix (r22567): Fix operator precedence.
Diffstat (limited to 'src')
-rw-r--r--src/saveload/afterload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp
index 7f6a7f700..cae47b0ea 100644
--- a/src/saveload/afterload.cpp
+++ b/src/saveload/afterload.cpp
@@ -2624,7 +2624,7 @@ bool AfterLoadGame()
if (!IsSavegameVersionBefore(145)) {
Station *st;
FOR_ALL_STATIONS(st) {
- if (!st->facilities & FACIL_AIRPORT) continue;
+ if (!(st->facilities & FACIL_AIRPORT)) continue;
assert(st->airport.psa != NULL);
/* Check if the old storage was empty. */