1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-06 16:15:33 +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;
}