forked from mirror/OpenTTD
Change: Increase object/station/roadstop class limit. (#12094)
The class limit is arbitrary and not stored in game state. This change prevents all entities in classes after the 255th class from being dumped into the first class.
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
#include "command_type.h"
|
||||
#include "station_type.h"
|
||||
|
||||
enum StationClassID : uint8_t;
|
||||
enum StationClassID : uint16_t;
|
||||
|
||||
CommandCost CmdBuildRailWaypoint(DoCommandFlag flags, TileIndex start_tile, Axis axis, uint8_t width, uint8_t height, StationClassID spec_class, uint16_t spec_index, StationID station_to_join, bool adjacent);
|
||||
CommandCost CmdRemoveFromRailWaypoint(DoCommandFlag flags, TileIndex start, TileIndex end, bool keep_rail);
|
||||
|
Reference in New Issue
Block a user