summaryrefslogtreecommitdiff
path: root/src/order_backup.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-12-09 20:48:13 +0000
committerrubidium <rubidium@openttd.org>2011-12-09 20:48:13 +0000
commitd9b9ac6013eccff386da96a3ef8b97912b994584 (patch)
treec774d9555130bb5df36a3d2f4590138b7ab39a50 /src/order_backup.h
parent7af041d12da235df6f43c42f647dd4c219624bbe (diff)
downloadopenttd-d9b9ac6013eccff386da96a3ef8b97912b994584.tar.xz
(svn r23464) -Fix [FS#4876]: clear the backed up orders of a removed station as well, otherwise one could create orders to a station that was never in the original backupped orders. For example a road vehicle trying to go to a buoy.
Diffstat (limited to 'src/order_backup.h')
-rw-r--r--src/order_backup.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/order_backup.h b/src/order_backup.h
index 583d4a853..6679e55d2 100644
--- a/src/order_backup.h
+++ b/src/order_backup.h
@@ -67,6 +67,7 @@ public:
static void ClearGroup(GroupID group);
static void ClearVehicle(const Vehicle *v);
+ static void RemoveOrder(OrderType type, DestinationID destination);
};
/**