Change: [Script] Decouple RAILTYPE_INVALID from internal presentation. (#14630)
RAILTYPE_INVALID is now -1, which matches ROADTYPE_INVALID.
This commit is contained in:
@@ -44,9 +44,8 @@ public:
|
||||
/**
|
||||
* Types of rail known to the game.
|
||||
*/
|
||||
enum RailType : uint8_t {
|
||||
/* Note: these values represent part of the in-game static values */
|
||||
RAILTYPE_INVALID = ::INVALID_RAILTYPE, ///< Invalid RailType.
|
||||
enum RailType {
|
||||
RAILTYPE_INVALID = -1, ///< Invalid RailType.
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user