Fix: ScriptRoad::HasRoadType really check for RoadType

Script::HasRoadType was only checking if the tile had the same RoadTramType as that of the RoadType provided.
Now it really checks RoadType against RoadType.
This commit is contained in:
SamuXarick
2022-06-26 20:49:08 +01:00
committed by Michael Lutz
parent 45d98f689a
commit 3dda8c9bad
28 changed files with 331 additions and 1 deletions

View File

@@ -20,6 +20,9 @@
* \li GSIndustryType::ResolveNewGRFID
* \li GSObjectType::ResolveNewGRFID
*
* Other changes:
* \li GSRoad::HasRoadType now correctly checks RoadType against RoadType
*
* \b 12.0
*
* API additions: