summaryrefslogtreecommitdiff
path: root/aircraft_cmd.c
diff options
context:
space:
mode:
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);