mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-08-03 23:36:59 -04:00
Fix non-predefined cells not being saved correctly
This commit is contained in:
parent
d5f497c47d
commit
96757a3b7c
@ -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…
x
Reference in New Issue
Block a user