mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-22 23:09:43 +00:00
Minor fix
This commit is contained in:
parent
7c22e123f4
commit
623c2c8201
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ namespace MWWorld
|
|||
for (std::vector<int>::const_iterator slot=slots.first.begin();
|
||||
slot!=slots.first.end(); ++slot)
|
||||
{
|
||||
switch(MWWorld::Class::get (*it).canBeEquipped (actor, *it))
|
||||
switch(MWWorld::Class::get (getTarget()).canBeEquipped (actor, getTarget()))
|
||||
{
|
||||
case 0:
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue