forked from mirror/openmw-tes3mp
Fix non-predefined cells not being saved correctly
This commit is contained in:
parent
d5f497c47d
commit
96757a3b7c
1 changed files with 4 additions and 0 deletions
|
@ -105,6 +105,10 @@ MWWorld::CellStore *MWWorld::Cells::getExterior (int x, int y)
|
|||
{
|
||||
// Cell isn't predefined. Make one on the fly.
|
||||
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.mX = x;
|
||||
|
|
Loading…
Reference in a new issue