1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-04 13:42:55 +01:00

Revert style change

This commit is contained in:
duncanspumpkin
2021-11-14 16:44:04 +00:00
committed by Gymnasiast
parent 921ae21ad5
commit 6d28b94c05
2 changed files with 8 additions and 4 deletions

View File

@@ -92,8 +92,10 @@ bool ObjectEntryDescriptor::operator==(const ObjectEntryDescriptor& rhs) const
{
return Entry == rhs.Entry;
}
return Type == rhs.Type && Identifier == rhs.Identifier;
else
{
return Type == rhs.Type && Identifier == rhs.Identifier;
}
}
bool ObjectEntryDescriptor::operator!=(const ObjectEntryDescriptor& rhs) const

View File

@@ -612,8 +612,10 @@ private:
// Convert to UTF-8 filename
return String::Convert(normalisedName, CODE_PAGE::CP_1252, CODE_PAGE::CP_UTF8);
}
return std::string(name);
else
{
return std::string(name);
}
}
void WritePackedObject(OpenRCT2::IStream* stream, const rct_object_entry* entry)