1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-22 23:09:43 +00:00

Minor fix

This commit is contained in:
Glorf 2013-04-09 07:45:07 +02:00
parent 7c22e123f4
commit 623c2c8201

View file

@ -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;