GRF: Add road stops variable for road info of nearby plain road tile

See: #464
This commit is contained in:
Jonathan G Rennison
2022-12-24 18:52:57 +00:00
parent 6b8f799a1c
commit 8af4ac8a4c
6 changed files with 61 additions and 2 deletions

View File

@@ -1866,7 +1866,7 @@ const byte _road_sloped_sprites[14] = {
* @param bits Roadbits
* @return Offset for the sprite within the spritegroup.
*/
static uint GetRoadSpriteOffset(Slope slope, RoadBits bits)
uint GetRoadSpriteOffset(Slope slope, RoadBits bits)
{
if (slope != SLOPE_FLAT) {
switch (slope) {