Use castByPlayer bool

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

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

Loading…
Cancel
Save