mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-05 15:55:45 +00:00
Savegame: Set equipment slot for lights (Fixes #1761)
This commit is contained in:
parent
2bfcec53bf
commit
0f8a10f468
@ -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 New Issue
Block a user