Changeset - r27823:7a849badd236
[Not reviewed]
master
0 1 0
Joan Josep - 9 months ago 2023-08-25 12:29:51
juanjo.ng.83@gmail.com
Codechange: Invalid depot value is unrelated to invalid station value. (#11227)
1 file changed with 1 insertions and 3 deletions:
0 comments (0 inline, 0 general)
src/depot_type.h
Show inline comments
 
@@ -7,16 +7,14 @@
 

	
 
/** @file depot_type.h Header files for depots (not hangars) */
 

	
 
#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'
 

	
 
#endif /* DEPOT_TYPE_H */
0 comments (0 inline, 0 general)