Codechange: Remove write-only spec_id from RoadStopSpec. (#12582)

Comment is incorrect about its value too.

(cherry picked from commit 72c55128d2129f824a60a35fb5aa601409af4a3d)
This commit is contained in:
Peter Nelson
2024-04-26 21:56:30 +01:00
committed by Jonathan G Rennison
parent 991b7a958e
commit 96ddabb30c
3 changed files with 1 additions and 3 deletions

View File

@@ -145,7 +145,6 @@ struct RoadStopSpec {
*/
GRFFilePropsBase<NUM_CARGO + 3> grf_prop;
RoadStopClassID cls_id; ///< The class to which this spec belongs.
int spec_id; ///< The ID of this spec inside the class.
StringID name; ///< Name of this stop
RoadStopAvailabilityType stop_type = ROADSTOPTYPE_ALL;