1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 13:33:02 +01:00

Write common JSON string loader

This commit is contained in:
Ted John
2017-12-11 12:30:08 +00:00
committed by Gymnasiast
parent d56f1445f8
commit 900bc48efa
10 changed files with 68 additions and 43 deletions

View File

@@ -97,7 +97,7 @@ std::string StringTable::GetString(uint8 id) const
return string.Text;
}
}
return nullptr;
return std::string();
}
void StringTable::SetString(uint8 id, uint8 language, const std::string &text)