Limit sMagicinvalidEffect to self-cast spells

pull/52/head^2
Allofich 8 years ago
parent 6c3cad238b
commit f25c65260c

@ -393,7 +393,7 @@ namespace MWMechanics
if (!world->isWaterWalkingCastableOnTarget(target))
{
if (castByPlayer)
if (castByPlayer && caster == target)
MWBase::Environment::get().getWindowManager()->messageBox ("#{sMagicInvalidEffect}");
continue;
}

Loading…
Cancel
Save