diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-09 20:30:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-09 20:30:47 +0300 |
commit | 407de0a8d0898b28a587962e997df816cb17b6a9 (patch) | |
tree | 99a0184bb44950a900a9f093afb8887bdd148548 /src/soundmanager.cpp | |
parent | 972fdcbd1ed61e2528c8b4c733f21a70d7f674b1 (diff) | |
download | manaplus-407de0a8d0898b28a587962e997df816cb17b6a9.tar.gz manaplus-407de0a8d0898b28a587962e997df816cb17b6a9.tar.bz2 manaplus-407de0a8d0898b28a587962e997df816cb17b6a9.tar.xz manaplus-407de0a8d0898b28a587962e997df816cb17b6a9.zip |
Fix code style.
Diffstat (limited to 'src/soundmanager.cpp')
-rw-r--r-- | src/soundmanager.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/soundmanager.cpp b/src/soundmanager.cpp index 1e8561ca7..21cf9a528 100644 --- a/src/soundmanager.cpp +++ b/src/soundmanager.cpp @@ -516,8 +516,7 @@ void SoundManager::playGuiSfx(const std::string &path) if (sample != nullptr) { logger->log("SoundManager::playGuiSfx() Playing: %s", path.c_str()); - const int ret = static_cast<const int>( - sample->play(0, 120, mGuiChannel)); + const int ret = static_cast<int>(sample->play(0, 120, mGuiChannel)); if (ret != -1) mGuiChannel = ret; if (!mCacheSounds) |