mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 08:53:52 +00:00
Rename a variable to make it less confusing.
This commit is contained in:
parent
78c735adc6
commit
7c007d9c6d
1 changed files with 4 additions and 4 deletions
|
@ -154,14 +154,14 @@ void CSMDoc::WriteDialogueCollectionStage::perform (int stage, Messages& message
|
||||||
for (CSMWorld::InfoCollection::RecordConstIterator iter (range.first); iter!=range.second;
|
for (CSMWorld::InfoCollection::RecordConstIterator iter (range.first); iter!=range.second;
|
||||||
++iter)
|
++iter)
|
||||||
{
|
{
|
||||||
CSMWorld::RecordBase::State state = iter->mState;
|
CSMWorld::RecordBase::State infoState = iter->mState;
|
||||||
|
|
||||||
if (state==CSMWorld::RecordBase::State_Deleted)
|
if (infoState==CSMWorld::RecordBase::State_Deleted)
|
||||||
{
|
{
|
||||||
/// \todo wrote record with delete flag
|
/// \todo wrote record with delete flag
|
||||||
}
|
}
|
||||||
else if (state==CSMWorld::RecordBase::State_Modified ||
|
else if (infoState==CSMWorld::RecordBase::State_Modified ||
|
||||||
state==CSMWorld::RecordBase::State_ModifiedOnly)
|
infoState==CSMWorld::RecordBase::State_ModifiedOnly)
|
||||||
{
|
{
|
||||||
ESM::DialInfo info = iter->get();
|
ESM::DialInfo info = iter->get();
|
||||||
info.mId = info.mId.substr (info.mId.find_last_of ('#')+1);
|
info.mId = info.mId.substr (info.mId.find_last_of ('#')+1);
|
||||||
|
|
Loading…
Reference in a new issue