Merge branch 'master' into jgrpp
# Conflicts: # .github/workflows/release-linux.yml # src/base_consist.h # src/blitter/32bpp_optimized.cpp # src/blitter/32bpp_optimized.hpp # src/blitter/32bpp_sse2.hpp # src/blitter/8bpp_optimized.hpp # src/gfx_func.h # src/industry_cmd.cpp # src/industrytype.h # src/linkgraph/linkgraphjob.cpp # src/mixer.cpp # src/newgrf_callbacks.h # src/openttd.cpp # src/os/macosx/macos.mm # src/os/windows/win32.cpp # src/pathfinder/npf/npf.cpp # src/road_cmd.cpp # src/saveload/afterload.cpp # src/saveload/saveload.h # src/saveload/vehicle_sl.cpp # src/sound.cpp # src/spritecache.cpp # src/spriteloader/spriteloader.hpp # src/station_map.h # src/timetable_cmd.cpp # src/timetable_cmd.h # src/timetable_gui.cpp # src/town_cmd.cpp # src/vehicle_cmd.cpp # src/vehicle_gui_base.h # src/video/opengl.cpp # src/video/opengl.h # src/viewport.cpp
This commit is contained in:
@@ -259,11 +259,11 @@ static inline bool IsAnyRoadStopTile(TileIndex t)
|
||||
}
|
||||
|
||||
/**
|
||||
* Is tile \a t a standard (non-drive through) road stop station?
|
||||
* Is tile \a t a bay (non-drive through) road stop station?
|
||||
* @param t Tile to check
|
||||
* @return \c true if the tile is a station tile and a standard road stop
|
||||
* @return \c true if the tile is a station tile and a bay road stop
|
||||
*/
|
||||
static inline bool IsStandardRoadStopTile(TileIndex t)
|
||||
static inline bool IsBayRoadStopTile(TileIndex t)
|
||||
{
|
||||
return IsAnyRoadStopTile(t) && GetStationGfx(t) < GFX_TRUCK_BUS_DRIVETHROUGH_OFFSET;
|
||||
}
|
||||
|
Reference in New Issue
Block a user