forked from rosebudai/OpenRCT2-Web
bugHunt: correcting code to compile
code does not compile yet
This commit is contained in:
1 parent
832fd69822
commit
dc93cacbee
9 files changed
+53
-28
No files matched your search
@@ -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