forked from teamnwah/openmw-tes3coop
some junk removal
This commit is contained in:
parent
7983b07b10
commit
63cd70f810
1 changed files with 0 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue