mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-26 16:24:35 +01:00
Add "Single Rail Roller Coaster" ride type
This commit is contained in:
@@ -1018,6 +1018,7 @@ uint8_t RideObject::ParseRideType(const std::string& s)
|
||||
{ "mine_ride", RIDE_TYPE_MINE_RIDE },
|
||||
{ "lim_launched_rc", RIDE_TYPE_LIM_LAUNCHED_ROLLER_COASTER },
|
||||
{ "hybrid_rc", RIDE_TYPE_HYBRID_COASTER },
|
||||
{ "single_rail_rc", RIDE_TYPE_SINGLE_RAIL_ROLLER_COASTER }
|
||||
};
|
||||
auto result = LookupTable.find(s);
|
||||
return (result != LookupTable.end()) ? result->second : static_cast<uint8_t>(RIDE_TYPE_NULL);
|
||||
|
||||
Reference in New Issue
Block a user