Merge branch 'centeroncell' into 'master'

Reset the rotation for ESM3 door-based COC destinations again (#7471)

Closes #7471

See merge request OpenMW/openmw!3416
macos_ci_fix
psi29a 1 year ago
commit 4deb012edf
No known key found for this signature in database

@ -2693,7 +2693,11 @@ namespace MWWorld
for (const MWWorld::LiveCellRef<ESM::Door>& destDoor : source.getReadOnlyDoors().mList)
{
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)
{

Loading…
Cancel
Save