mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 15:15:31 +00:00
Allow Water Walking on non-submerged creatures
This commit is contained in:
parent
22b11c5947
commit
b99c2c54d8
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue