summaryrefslogtreecommitdiff
path: root/src/vehicle_base.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2008-01-01 15:06:37 +0000
committerpeter1138 <peter1138@openttd.org>2008-01-01 15:06:37 +0000
commit96d09cfae9fb94a3c0e21036a33d1bedc6373076 (patch)
treeb3924d36a4852bb03fa1ac648b54e9a2732d84b3 /src/vehicle_base.h
parent61285721a4af4177d52b6751803b639acb52d60d (diff)
downloadopenttd-96d09cfae9fb94a3c0e21036a33d1bedc6373076.tar.xz
(svn r11735) -Fix [FS#1574]: Don't reset loading indicator IDs when only reloading NewGRFs.
Diffstat (limited to 'src/vehicle_base.h')
-rw-r--r--src/vehicle_base.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicle_base.h b/src/vehicle_base.h
index 751c320f1..2f28bc4fe 100644
--- a/src/vehicle_base.h
+++ b/src/vehicle_base.h
@@ -181,7 +181,7 @@ DECLARE_OLD_POOL(Vehicle, Vehicle, 9, 125)
/* Some declarations of functions, so we can make them friendly */
struct SaveLoad;
extern const SaveLoad *GetVehicleDescription(VehicleType vt);
-extern void AfterLoadVehicles();
+extern void AfterLoadVehicles(bool clear_te_id);
struct LoadgameState;
extern bool LoadOldVehicle(LoadgameState *ls, int num);
@@ -194,7 +194,7 @@ private:
Vehicle *first; // NOSAVE: pointer to the first vehicle in the chain
public:
friend const SaveLoad *GetVehicleDescription(VehicleType vt); // So we can use private/protected variables in the saveload code
- friend void AfterLoadVehicles(); // So we can set the previous and first pointers while loading
+ friend void AfterLoadVehicles(bool clear_te_id); // So we can set the previous and first pointers while loading
friend bool LoadOldVehicle(LoadgameState *ls, int num); // So we can set the proper next pointer while loading
Vehicle *depot_list; // NOSAVE: linked list to tell what vehicles entered a depot during the last tick. Used by autoreplace