summaryrefslogtreecommitdiff
path: root/src/notifymanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-14 02:21:30 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-14 02:21:30 +0300
commit78afa659472cc4cfca37056088ed9cb9f79845eb (patch)
tree82396c65956514c58fdd696dc71e7400bb6d1379 /src/notifymanager.cpp
parentee1fc0b63cb7f27df85c43474497b805df6e31f5 (diff)
downloadmv-78afa659472cc4cfca37056088ed9cb9f79845eb.tar.gz
mv-78afa659472cc4cfca37056088ed9cb9f79845eb.tar.bz2
mv-78afa659472cc4cfca37056088ed9cb9f79845eb.tar.xz
mv-78afa659472cc4cfca37056088ed9cb9f79845eb.zip
Remove default parameters from soundmanager.
Diffstat (limited to 'src/notifymanager.cpp')
-rw-r--r--src/notifymanager.cpp10
1 files changed, 5 insertions, 5 deletions
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)