forked from mirror/openmw-tes3mp
Savegame: Set equipment slot for lights (Fixes #1761)
This commit is contained in:
parent
2bfcec53bf
commit
0f8a10f468
1 changed files with 2 additions and 1 deletions
|
@ -701,7 +701,8 @@ void MWWorld::ContainerStore::readState (const ESM::InventoryState& state)
|
|||
for (std::vector<std::pair<ESM::LightState, int> >::const_iterator iter (state.mLights.begin());
|
||||
iter!=state.mLights.end(); ++iter)
|
||||
{
|
||||
getState (lights, iter->first);
|
||||
int slot = iter->second;
|
||||
setSlot (getState (lights, iter->first), slot);
|
||||
}
|
||||
|
||||
mLevelledItemMap = state.mLevelledItemMap;
|
||||
|
|
Loading…
Reference in a new issue