mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 03:23:15 +01:00
bugHunt: correcting code to compile
code does not compile yet
This commit is contained in:
@@ -437,7 +437,7 @@ namespace ObjectFactory
|
||||
std::unique_ptr<Object> result;
|
||||
|
||||
auto objectType = ParseObjectType(Json::GetString(jRoot["objectType"]));
|
||||
if (objectType != 0xFF)
|
||||
if (objectType != ObjectType::None)
|
||||
{
|
||||
auto id = Json::GetString(jRoot["id"]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user