1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-09 12:42:11 +00:00

some junk removal

This commit is contained in:
Marc Zinnschlag 2014-01-13 10:03:25 +01:00
parent 7983b07b10
commit 63cd70f810

View File

@ -54,8 +54,6 @@ namespace MWWorld
assert(it != invStore.end());
bool equipped = false;
// equip the item in the first free slot
for (std::vector<int>::const_iterator slot=slots_.first.begin();
slot!=slots_.first.end(); ++slot)
@ -68,7 +66,6 @@ namespace MWWorld
if (slot == --slots_.first.end())
{
invStore.equip(*slot, it, actor);
equipped = true;
break;
}
@ -76,7 +73,6 @@ namespace MWWorld
{
// slot is not occupied
invStore.equip(*slot, it, actor);
equipped = true;
break;
}
}