mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 06:44:38 +01:00
Fix GCC's warning regarding enum vs non-enum values being compared (#8551)
This commit is contained in:
committed by
GitHub
parent
7e769ed662
commit
8a70b29f64
@@ -160,7 +160,7 @@ namespace ObjectFactory
|
||||
|
||||
static uint8_t ParseSourceGame(const std::string& s)
|
||||
{
|
||||
static const std::unordered_map<std::string, uint8_t> LookupTable{
|
||||
static const std::unordered_map<std::string, OBJECT_SOURCE_GAME> LookupTable{
|
||||
{ "rct1", OBJECT_SOURCE_RCT1 },
|
||||
{ "rct1aa", OBJECT_SOURCE_ADDED_ATTRACTIONS },
|
||||
{ "rct1ll", OBJECT_SOURCE_LOOPY_LANDSCAPES },
|
||||
|
||||
Reference in New Issue
Block a user