Feature: Increase number of stations/roadstops per NewGRF.

This commit is contained in:
Peter Nelson
2023-04-18 00:12:34 +01:00
committed by PeterN
parent bc7dfd7b46
commit 0b72297d57
2 changed files with 5 additions and 4 deletions

View File

@@ -20,7 +20,7 @@
#include "road.h"
/** The maximum amount of roadstops a single GRF is allowed to add */
static const int NUM_ROADSTOPS_PER_GRF = 255;
static const int NUM_ROADSTOPS_PER_GRF = UINT16_MAX - 1;
enum RoadStopClassID : byte {
ROADSTOP_CLASS_BEGIN = 0, ///< The lowest valid value