changeset 17788:5d14fa020688 draft

(svn r22573) -Fix (r22567): Fix operator precedence.
author terkhen <terkhen@openttd.org>
date Mon, 13 Jun 2011 06:13:57 +0000
parents f494fc48030a
children 02fa89d261c9
files src/saveload/afterload.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/saveload/afterload.cpp
+++ b/src/saveload/afterload.cpp
@@ -2624,7 +2624,7 @@
 		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. */