mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-26 16:24:35 +01:00
Name remaining ride type flags (#10947)
This commit is contained in:
committed by
GitHub
parent
dbeef78778
commit
fd91c41a76
@@ -647,7 +647,7 @@ bool track_add_station_element(CoordsXYZD loc, ride_id_t rideIndex, int32_t flag
|
||||
CoordsXY stationLoc1 = loc;
|
||||
int32_t stationLength = 1;
|
||||
|
||||
if (ride_type_has_flag(ride->type, RIDE_TYPE_FLAG_3))
|
||||
if (ride_type_has_flag(ride->type, RIDE_TYPE_FLAG_HAS_SINGLE_PIECE_STATION))
|
||||
{
|
||||
if (ride->num_stations >= MAX_STATIONS)
|
||||
{
|
||||
@@ -795,7 +795,7 @@ bool track_remove_station_element(int32_t x, int32_t y, int32_t z, Direction dir
|
||||
int32_t stationLength = 0;
|
||||
int32_t byte_F441D1 = -1;
|
||||
|
||||
if (ride_type_has_flag(ride->type, RIDE_TYPE_FLAG_3))
|
||||
if (ride_type_has_flag(ride->type, RIDE_TYPE_FLAG_HAS_SINGLE_PIECE_STATION))
|
||||
{
|
||||
TileElement* tileElement = map_get_track_element_at_with_direction_from_ride({ x, y, z << 3, direction }, rideIndex);
|
||||
if (tileElement != nullptr)
|
||||
|
||||
Reference in New Issue
Block a user