Allow Water Walking on non-submerged creatures

pull/52/head^2
Allofich 8 years ago
parent 22b11c5947
commit b99c2c54d8

@ -292,7 +292,7 @@ namespace MWMechanics
}
break;
case ESM::MagicEffect::WaterWalking:
if (target.getClass().isPureWaterCreature(target))
if (target.getClass().isPureWaterCreature(target) && MWBase::Environment::get().getWorld()->isSwimming(target))
return false;
MWBase::World *world = MWBase::Environment::get().getWorld();

Loading…
Cancel
Save