Road stops: Remove 0x6B as alias of roadstop_road_info_nearby_tiles

This commit is contained in:
Jonathan G Rennison
2024-02-03 17:48:50 +00:00
parent 28b156d95c
commit 728971ddbc
6 changed files with 7 additions and 5 deletions

View File

@@ -220,7 +220,7 @@ uint32_t RoadStopScopeResolver::GetVariable(uint16_t variable, uint32_t paramete
}
/* Road info of nearby tiles */
case 0x6B: {
case A2VRI_ROADSTOP_ROAD_INFO_NEARBY_TILES: {
if (this->tile == INVALID_TILE) return 0xFFFFFFFF;
TileIndex nearby_tile = GetNearbyTile(parameter, this->tile);