mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-20 07:23:51 +00:00
Take in account caster's race height when launch magic bolt (bug #5209)
This commit is contained in:
parent
8dbbe42f21
commit
d1e0fa575e
2 changed files with 2 additions and 1 deletions
|
@ -173,6 +173,7 @@
|
||||||
Bug #5190: On-strike enchantments can be applied to and used with non-projectile ranged weapons
|
Bug #5190: On-strike enchantments can be applied to and used with non-projectile ranged weapons
|
||||||
Bug #5196: Dwarven ghosts do not use idle animations
|
Bug #5196: Dwarven ghosts do not use idle animations
|
||||||
Bug #5206: A "class does not have NPC stats" error when player's follower kills an enemy with damage spell
|
Bug #5206: A "class does not have NPC stats" error when player's follower kills an enemy with damage spell
|
||||||
|
Bug #5209: Spellcasting ignores race height
|
||||||
Feature #1774: Handle AvoidNode
|
Feature #1774: Handle AvoidNode
|
||||||
Feature #2229: Improve pathfinding AI
|
Feature #2229: Improve pathfinding AI
|
||||||
Feature #3025: Analogue gamepad movement controls
|
Feature #3025: Analogue gamepad movement controls
|
||||||
|
|
|
@ -262,7 +262,7 @@ namespace MWWorld
|
||||||
{
|
{
|
||||||
// Spawn at 0.75 * ActorHeight
|
// Spawn at 0.75 * ActorHeight
|
||||||
// Note: we ignore the collision box offset, this is required to make some flying creatures work as intended.
|
// Note: we ignore the collision box offset, this is required to make some flying creatures work as intended.
|
||||||
pos.z() += mPhysics->getHalfExtents(caster).z() * 2 * 0.75;
|
pos.z() += mPhysics->getRenderingHalfExtents(caster).z() * 2 * 0.75;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (MWBase::Environment::get().getWorld()->isUnderwater(caster.getCell(), pos)) // Underwater casting not possible
|
if (MWBase::Environment::get().getWorld()->isUnderwater(caster.getCell(), pos)) // Underwater casting not possible
|
||||||
|
|
Loading…
Reference in a new issue