1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-30 21:32:42 +00:00

Fix initialisation order - properly this time.

This commit is contained in:
cc9cii 2015-06-25 20:34:27 +10:00
parent 705253e456
commit 67b6c86a59

View File

@ -130,9 +130,8 @@ int CSMWorld::Data::count (RecordBase::State state, const CollectionBase& collec
} }
CSMWorld::Data::Data (ToUTF8::FromType encoding, const ResourcesManager& resourcesManager) CSMWorld::Data::Data (ToUTF8::FromType encoding, const ResourcesManager& resourcesManager)
: mEncoder (encoding), mPathgrids (mCells), mRefs (mCells), : mEncoder (encoding), mPathgrids (mCells), mRefs (mCells), mReferenceables(self()),
mResourcesManager (resourcesManager), mReader (0), mDialogue (0), mResourcesManager (resourcesManager), mReader (0), mDialogue (0), mReaderIndex(0)
mReferenceables(self()), mReaderIndex(0)
{ {
int index = 0; int index = 0;