mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-25 06:35:30 +00:00
Fix duplicate sounds
This commit is contained in:
parent
0f2866dc15
commit
38c399a698
@ -150,8 +150,6 @@ namespace
|
||||
|
||||
setBookMode ();
|
||||
|
||||
MWBase::Environment::get().getSoundManager()->playSound ("book open", 1.0, 1.0);
|
||||
|
||||
/// \todo Wiping the whole book layout each time the journal is opened is probably too costly for a large journal (eg 300+ pages).
|
||||
/// There should be a way to keep the existing layout and append new entries to the end of it.
|
||||
/// However, that still leaves the problem of having to add links to previously unknown, but now known topics, so
|
||||
@ -186,8 +184,6 @@ namespace
|
||||
mStates.pop ();
|
||||
|
||||
mTopicIndexBook.reset ();
|
||||
|
||||
MWBase::Environment::get().getSoundManager()->playSound ("book close", 1.0, 1.0);
|
||||
}
|
||||
|
||||
void setVisible (bool newValue)
|
||||
|
Loading…
x
Reference in New Issue
Block a user