From 7c8b4b9d6d4f1fb3168fb98258e573387d686116 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Sat, 30 Jan 2016 15:07:33 +0000 Subject: [PATCH] Remove duplicated timetable fields from vehicle struct. --- src/vehicle_base.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/vehicle_base.h b/src/vehicle_base.h index 0b291be2d6..d6055e5610 100644 --- a/src/vehicle_base.h +++ b/src/vehicle_base.h @@ -188,12 +188,8 @@ public: CargoPayment *cargo_payment; ///< The cargo payment we're currently in - /* Used for timetabling. */ - uint32 current_order_time; ///< How many ticks have passed since this order started. uint32 current_loading_time; ///< How long loading took. Less than current_order_time if vehicle is early. - int32 lateness_counter; ///< How many ticks late (or early if negative) this vehicle is. - Date timetable_start; ///< When the vehicle is supposed to start the timetable. Rect coord; ///< NOSAVE: Graphical bounding box of the vehicle, i.e. what to redraw on moves. @@ -705,10 +701,7 @@ public: this->profit_this_year = src->profit_this_year; this->profit_last_year = src->profit_last_year; - this->current_order_time = src->current_order_time; this->current_loading_time = src->current_loading_time; - this->lateness_counter = src->lateness_counter; - this->timetable_start = src->timetable_start; if (HasBit(src->vehicle_flags, VF_TIMETABLE_STARTED)) SetBit(this->vehicle_flags, VF_TIMETABLE_STARTED); if (HasBit(src->vehicle_flags, VF_AUTOFILL_TIMETABLE)) SetBit(this->vehicle_flags, VF_AUTOFILL_TIMETABLE);