(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.

This commit is contained in:
rubidium
2011-12-09 20:48:13 +00:00
parent 7af041d12d
commit d9b9ac6013
3 changed files with 27 additions and 0 deletions

View File

@@ -27,6 +27,7 @@
#include "station_base.h"
#include "waypoint_base.h"
#include "company_base.h"
#include "order_backup.h"
#include "table/strings.h"
@@ -1705,6 +1706,8 @@ restart:
}
}
}
OrderBackup::RemoveOrder(type, destination);
}
/**