1
0
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:
X123M3-256
2021-01-06 20:10:15 +00:00
committed by GitHub
parent 764ab7f113
commit deca5a3881
897 changed files with 17993 additions and 2 deletions

View File

@@ -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);