forked from teamnwah/openmw-tes3coop
Remove redundant setTeleported calls
This commit is contained in:
parent
c3482b6f24
commit
b3cd10dbea
1 changed files with 0 additions and 4 deletions
|
@ -250,14 +250,10 @@ namespace MWMechanics
|
|||
|
||||
if (effectId == ESM::MagicEffect::DivineIntervention)
|
||||
{
|
||||
MWBase::Environment::get().getWorld()->getPlayer().setTeleported(true);
|
||||
|
||||
MWBase::Environment::get().getWorld()->teleportToClosestMarker(target, "divinemarker", worldPos);
|
||||
}
|
||||
else if (effectId == ESM::MagicEffect::AlmsiviIntervention)
|
||||
{
|
||||
MWBase::Environment::get().getWorld()->getPlayer().setTeleported(true);
|
||||
|
||||
MWBase::Environment::get().getWorld()->teleportToClosestMarker(target, "templemarker", worldPos);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue