|
|
|
@ -1436,9 +1436,7 @@ namespace MWWorld
|
|
|
|
|
esmPos.pos[0] = traced.x();
|
|
|
|
|
esmPos.pos[1] = traced.y();
|
|
|
|
|
esmPos.pos[2] = traced.z();
|
|
|
|
|
ESM::RefId cell;
|
|
|
|
|
if (!actor.getCell()->isExterior())
|
|
|
|
|
cell = actor.getCell()->getCell()->getId();
|
|
|
|
|
ESM::RefId cell = actor.getCell()->getCell()->getId();
|
|
|
|
|
MWWorld::ActionTeleport(cell, esmPos, false).execute(actor);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -3447,9 +3445,7 @@ namespace MWWorld
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
ESM::RefId cellId;
|
|
|
|
|
if (!closestMarker.mCell->isExterior())
|
|
|
|
|
cellId = closestMarker.mCell->getCell()->getId();
|
|
|
|
|
ESM::RefId cellId = closestMarker.mCell->getCell()->getId();
|
|
|
|
|
|
|
|
|
|
MWWorld::ActionTeleport action(cellId, closestMarker.getRefData().getPosition(), false);
|
|
|
|
|
action.execute(ptr);
|
|
|
|
|