Codechange: Invalid depot value is unrelated to invalid station value. (#11227)

This commit is contained in:
Joan Josep 2023-08-25 14:29:51 +02:00 committed by GitHub
parent ead5284476
commit a938067d6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -10,12 +10,10 @@
#ifndef DEPOT_TYPE_H
#define DEPOT_TYPE_H
#include "station_type.h"
typedef uint16_t DepotID; ///< Type for the unique identifier of depots.
struct Depot;
static const DepotID INVALID_DEPOT = (DepotID)INVALID_STATION;
static const DepotID INVALID_DEPOT = UINT16_MAX;
static const uint MAX_LENGTH_DEPOT_NAME_CHARS = 32; ///< The maximum length of a depot name in characters including '\0'