From 729d786d5eb136e780def10153a50ba38180ee4a Mon Sep 17 00:00:00 2001 From: terkhen Date: Mon, 13 Jun 2011 06:13:57 +0000 Subject: [PATCH] (svn r22573) -Fix (r22567): Fix operator precedence. --- src/saveload/afterload.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp index 7f6a7f700d..cae47b0eaf 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. */