1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 09:35:28 +00:00

fixed a problem with editing records that do not exist in base

This commit is contained in:
Marc Zinnschlag 2013-05-02 14:30:39 +02:00
parent f8a331f173
commit 1b84aeb5b9

View File

@ -81,7 +81,9 @@ namespace CSMWorld
throw std::logic_error ("attempt to modify a deleted record");
mModified = modified;
mState = State_Modified;
if (mState!=State_ModifiedOnly)
mState = State_Modified;
}
template <typename ESXRecordT>