1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-28 20:36:42 +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(); for (std::vector<int>::const_iterator slot=slots.first.begin();
slot!=slots.first.end(); ++slot) slot!=slots.first.end(); ++slot)
{ {
switch(MWWorld::Class::get (*it).canBeEquipped (actor, *it)) switch(MWWorld::Class::get (getTarget()).canBeEquipped (actor, getTarget()))
{ {
case 0: case 0:
return; return;