summaryrefslogtreecommitdiff
path: root/aircraft_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-10-11 13:54:21 +0000
committertron <tron@openttd.org>2005-10-11 13:54:21 +0000
commit9fea263c77fedc7aa6744e83d5d57c0dc988b7cc (patch)
tree9f0604075083d2ae2a82e369ecf7a836c04021b5 /aircraft_cmd.c
parent6fb7381efa6a0e48c1bc1c8a49b7b70edf2b5bcf (diff)
downloadopenttd-9fea263c77fedc7aa6744e83d5d57c0dc988b7cc.tar.xz
(svn r3030) More work for GB/SB, this time concerning the waiting_acceptance attribute of stations
Diffstat (limited to 'aircraft_cmd.c')
-rw-r--r--aircraft_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/aircraft_cmd.c b/aircraft_cmd.c
index 244dab455..6113bdcce 100644
--- a/aircraft_cmd.c
+++ b/aircraft_cmd.c
@@ -1244,7 +1244,7 @@ static void MaybeCrashAirplane(Vehicle *v)
// Crash the airplane. Remove all goods stored at the station.
for(i=0; i!=NUM_CARGO; i++) {
st->goods[i].rating = 1;
- st->goods[i].waiting_acceptance &= ~0xFFF;
+ SB(st->goods[i].waiting_acceptance, 0, 12, 0);
}
CrashAirplane(v);