mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 19:43:06 +01:00
Make sure various fields are initialised properly
This commit is contained in:
committed by
GitHub
parent
8d56821f56
commit
6bd9e3eca8
@@ -94,17 +94,16 @@ static void ReportMissingObject(const rct_object_entry * entry);
|
||||
|
||||
class ObjectRepository final : public IObjectRepository
|
||||
{
|
||||
IPlatformEnvironment * _env = nullptr;
|
||||
const IPlatformEnvironment * _env = nullptr;
|
||||
std::vector<ObjectRepositoryItem> _items;
|
||||
QueryDirectoryResult _queryDirectoryResult = { 0 };
|
||||
ObjectEntryMap _itemMap;
|
||||
uint16 _languageId = 0;
|
||||
sint32 _numConflicts;
|
||||
uint16 _languageId = 0;
|
||||
sint32 _numConflicts = 0;
|
||||
|
||||
public:
|
||||
ObjectRepository(IPlatformEnvironment * env)
|
||||
ObjectRepository(IPlatformEnvironment * env) : _env(env)
|
||||
{
|
||||
_env = env;
|
||||
}
|
||||
|
||||
~ObjectRepository() final
|
||||
|
||||
Reference in New Issue
Block a user