forked from teamnwah/openmw-tes3coop
fixed a problem with editing records that do not exist in base
This commit is contained in:
parent
f8a331f173
commit
1b84aeb5b9
1 changed files with 3 additions and 1 deletions
|
@ -81,6 +81,8 @@ namespace CSMWorld
|
||||||
throw std::logic_error ("attempt to modify a deleted record");
|
throw std::logic_error ("attempt to modify a deleted record");
|
||||||
|
|
||||||
mModified = modified;
|
mModified = modified;
|
||||||
|
|
||||||
|
if (mState!=State_ModifiedOnly)
|
||||||
mState = State_Modified;
|
mState = State_Modified;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue