1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-31 11:45:33 +00:00

Fix initialisation order.

This commit is contained in:
cc9cii 2015-06-25 19:54:07 +10:00
parent 58923591cb
commit 705253e456

View file

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