mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 06:55:54 -04:00
Fix teleportation being unreachable
This commit is contained in:
parent
cba1aff9ab
commit
1a073ca642
@ -613,14 +613,11 @@ namespace MWMechanics
|
||||
return true;
|
||||
}
|
||||
}
|
||||
else if (target.getClass().isActor())
|
||||
{
|
||||
if (effectId == ESM::MagicEffect::Dispel)
|
||||
else if (target.getClass().isActor() && effectId == ESM::MagicEffect::Dispel)
|
||||
{
|
||||
target.getClass().getCreatureStats(target).getActiveSpells().purgeAll(magnitude);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
else if (target.getClass().isActor() && target == getPlayer())
|
||||
{
|
||||
MWRender::Animation* anim = MWBase::Environment::get().getWorld()->getAnimation(mCaster);
|
||||
|
Loading…
x
Reference in New Issue
Block a user