1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 21:53:51 +00:00

Fix non-predefined cells not being saved correctly

This commit is contained in:
scrawl 2016-07-02 19:43:08 +02:00
parent d5f497c47d
commit 96757a3b7c

View file

@ -105,6 +105,10 @@ MWWorld::CellStore *MWWorld::Cells::getExterior (int x, int y)
{ {
// Cell isn't predefined. Make one on the fly. // Cell isn't predefined. Make one on the fly.
ESM::Cell record; ESM::Cell record;
record.mCellId.mWorldspace = "sys::default";
record.mCellId.mPaged = true;
record.mCellId.mIndex.mX = x;
record.mCellId.mIndex.mY = y;
record.mData.mFlags = ESM::Cell::HasWater; record.mData.mFlags = ESM::Cell::HasWater;
record.mData.mX = x; record.mData.mX = x;