summaryrefslogtreecommitdiff
path: root/src/gui/okdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/okdialog.cpp')
-rw-r--r--src/gui/okdialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/okdialog.cpp b/src/gui/okdialog.cpp
index ae0c4ca4a..243805538 100644
--- a/src/gui/okdialog.cpp
+++ b/src/gui/okdialog.cpp
@@ -77,9 +77,9 @@ OkDialog::OkDialog(const std::string &title, const std::string &msg,
okButton->requestFocus();
if (soundEvent == DIALOG_OK)
- sound.playGuiSound(SOUND_INFO);
+ soundManager.playGuiSound(SOUND_INFO);
else if (soundEvent == DIALOG_ERROR)
- sound.playGuiSound(SOUND_ERROR);
+ soundManager.playGuiSound(SOUND_ERROR);
}
void OkDialog::action(const gcn::ActionEvent &event)