mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-04-01 21:06:43 +00:00
Undo door rotation once
This commit is contained in:
parent
66dec14f8f
commit
6253d2a7ac
1 changed files with 2 additions and 1 deletions
|
@ -1649,7 +1649,6 @@ namespace MWWorld
|
||||||
}
|
}
|
||||||
|
|
||||||
// we need to undo the rotation
|
// we need to undo the rotation
|
||||||
rotateObject(door, objPos.rot[0], objPos.rot[1], oldRot);
|
|
||||||
reached = false;
|
reached = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1671,6 +1670,8 @@ namespace MWWorld
|
||||||
if (!closeSound.empty() && MWBase::Environment::get().getSoundManager()->getSoundPlaying(door, closeSound))
|
if (!closeSound.empty() && MWBase::Environment::get().getSoundManager()->getSoundPlaying(door, closeSound))
|
||||||
MWBase::Environment::get().getSoundManager()->stopSound3D(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
|
// the rotation order we want to use
|
||||||
|
|
Loading…
Reference in a new issue