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

Use castByPlayer bool

This commit is contained in:
Allofich 2016-08-31 17:14:16 +09:00
parent a6216d883f
commit 6c3cad238b

View file

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