|
|
@ -394,10 +394,6 @@ void CSMDoc::WriteLandCollectionStage::perform (int stage, Messages& messages)
|
|
|
|
CSMWorld::Land record = land.get();
|
|
|
|
CSMWorld::Land record = land.get();
|
|
|
|
writer.startRecord (record.sRecordId);
|
|
|
|
writer.startRecord (record.sRecordId);
|
|
|
|
record.save (writer, land.mState == CSMWorld::RecordBase::State_Deleted);
|
|
|
|
record.save (writer, land.mState == CSMWorld::RecordBase::State_Deleted);
|
|
|
|
|
|
|
|
|
|
|
|
if (const ESM::Land::LandData *data = record.getLandData (record.mDataTypes))
|
|
|
|
|
|
|
|
data->save (mState.getWriter());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
writer.endRecord (record.sRecordId);
|
|
|
|
writer.endRecord (record.sRecordId);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|