Use ScenarioTextObject for indexing scenarios

This commit is contained in:
Aaron van Geffen committed 2024-10-30 20:45:18 +01:00
1 parent 7c74d91b7d
commit 263b73cb31
4 files changed
+56 -40

No files matched your search

+4
View File
@@ -88,6 +88,10 @@ ObjectStringID StringTable::ParseStringId(const std::string& s)
return ObjectStringID::NAME;
if (s == "description")
return ObjectStringID::DESCRIPTION;
if (s == "park_name")
return ObjectStringID::PARK_NAME;
if (s == "details")
return ObjectStringID::SCENARIO_DETAILS;
if (s == "capacity")
return ObjectStringID::CAPACITY;
if (s == "vehicleName")