From 78afa659472cc4cfca37056088ed9cb9f79845eb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 14 Dec 2017 02:21:30 +0300 Subject: Remove default parameters from soundmanager. --- src/notifymanager.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/notifymanager.cpp') diff --git a/src/notifymanager.cpp b/src/notifymanager.cpp index af07cbc4f..ce01c9989 100644 --- a/src/notifymanager.cpp +++ b/src/notifymanager.cpp @@ -88,7 +88,7 @@ namespace NotifyManager const NotificationInfo &info = notifications[message]; if (*info.text == 0) { - soundManager.playSfx(SoundDB::getSound(message)); + soundManager.playSfx(SoundDB::getSound(message), 0, 0); return; } @@ -131,7 +131,7 @@ namespace NotifyManager default: break; } - soundManager.playSfx(SoundDB::getSound(message)); + soundManager.playSfx(SoundDB::getSound(message), 0, 0); } void notify(const unsigned int message, const int num) @@ -151,7 +151,7 @@ namespace NotifyManager IgnoreRecord_false, TryRemoveColors_true); } - soundManager.playSfx(SoundDB::getSound(message)); + soundManager.playSfx(SoundDB::getSound(message), 0, 0); } void notify(const unsigned int message, const std::string &str) @@ -164,7 +164,7 @@ namespace NotifyManager const NotificationInfo &info = notifications[message]; if (*info.text == 0) { - soundManager.playSfx(SoundDB::getSound(message)); + soundManager.playSfx(SoundDB::getSound(message), 0, 0); return; } switch (info.flags) @@ -198,7 +198,7 @@ namespace NotifyManager default: break; } - soundManager.playSfx(SoundDB::getSound(message)); + soundManager.playSfx(SoundDB::getSound(message), 0, 0); } int getIndexBySound(const std::string &sound) -- cgit v1.2.3-60-g2f50