mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 07:32:00 -04:00
Undo door rotation once
This commit is contained in:
parent
66dec14f8f
commit
6253d2a7ac
@ -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…
x
Reference in New Issue
Block a user