mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-19 12:40:49 +00:00
Reset the rotation for ESM3 door-based COC destinations again
This commit is contained in:
parent
bcc3365766
commit
817078cbea
@ -2693,7 +2693,11 @@ namespace MWWorld
|
|||||||
for (const MWWorld::LiveCellRef<ESM::Door>& destDoor : source.getReadOnlyDoors().mList)
|
for (const MWWorld::LiveCellRef<ESM::Door>& destDoor : source.getReadOnlyDoors().mList)
|
||||||
{
|
{
|
||||||
if (cellId == destDoor.mRef.getDestCell())
|
if (cellId == destDoor.mRef.getDestCell())
|
||||||
return destDoor.mRef.getDoorDest();
|
{
|
||||||
|
ESM::Position doorDest = destDoor.mRef.getDoorDest();
|
||||||
|
doorDest.rot[0] = doorDest.rot[1] = doorDest.rot[2] = 0;
|
||||||
|
return doorDest;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
for (const MWWorld::LiveCellRef<ESM4::Door>& destDoor : source.getReadOnlyEsm4Doors().mList)
|
for (const MWWorld::LiveCellRef<ESM4::Door>& destDoor : source.getReadOnlyEsm4Doors().mList)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user