1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-30 02:06:43 +00:00

Undo door rotation once

This commit is contained in:
elsid 2019-09-29 10:28:02 +02:00
parent 66dec14f8f
commit 6253d2a7ac
No known key found for this signature in database
GPG key ID: D27B8E8D10A2896B

View file

@ -1649,7 +1649,6 @@ namespace MWWorld
}
// we need to undo the rotation
rotateObject(door, objPos.rot[0], objPos.rot[1], oldRot);
reached = false;
}
}
@ -1671,6 +1670,8 @@ namespace MWWorld
if (!closeSound.empty() && MWBase::Environment::get().getSoundManager()->getSoundPlaying(door, closeSound))
MWBase::Environment::get().getSoundManager()->stopSound3D(door, closeSound);
}
rotateObject(door, objPos.rot[0], objPos.rot[1], oldRot);
}
// the rotation order we want to use