mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-04 03:40:14 +00:00
Fix a regression involving default arguments
This commit is contained in:
parent
a854a6e04a
commit
31a7c83cc7
@ -47,7 +47,7 @@ namespace MWMechanics
|
||||
{
|
||||
MWMechanics::CastSpell cast(attacker, victim, fromProjectile);
|
||||
cast.mHitPosition = hitPosition;
|
||||
cast.cast(object, false);
|
||||
cast.cast(object, 0, false);
|
||||
// Apply magic effects directly instead of waiting a frame to allow soul trap to work on one-hit kills
|
||||
if(!victim.isEmpty() && victim.getClass().isActor())
|
||||
MWBase::Environment::get().getMechanicsManager()->updateMagicEffects(victim);
|
||||
|
Loading…
x
Reference in New Issue
Block a user