diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-04 16:29:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-04 16:29:02 +0300 |
commit | 5eaf66ff5db2756fc6ef8ef7ee49f1aa57e12406 (patch) | |
tree | 445d822188f3f12bc56442195230668dea6f5cca /src | |
parent | dfbd0e3d130d2df88e75a26fb3bece6ebf6fafef (diff) | |
download | plus-5eaf66ff5db2756fc6ef8ef7ee49f1aa57e12406.tar.gz plus-5eaf66ff5db2756fc6ef8ef7ee49f1aa57e12406.tar.bz2 plus-5eaf66ff5db2756fc6ef8ef7ee49f1aa57e12406.tar.xz plus-5eaf66ff5db2756fc6ef8ef7ee49f1aa57e12406.zip |
Fix compilation warnings.
Diffstat (limited to 'src')
-rw-r--r-- | src/soundmanager.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/soundmanager.cpp b/src/soundmanager.cpp index 746f5a924..8a6170c7f 100644 --- a/src/soundmanager.cpp +++ b/src/soundmanager.cpp @@ -360,10 +360,16 @@ void SoundManager::logic() BLOCK_END("SoundManager::logic") } +#ifdef DYECMD +void SoundManager::playSfx(const std::string &path A_UNUSED, + const int x A_UNUSED, + const int y A_UNUSED) const +{ +} +#else void SoundManager::playSfx(const std::string &path, const int x, const int y) const { -#ifndef DYECMD if (!mInstalled || path.empty() || !mPlayBattle) return; @@ -396,8 +402,8 @@ void SoundManager::playSfx(const std::string &path, if (!mCacheSounds) sample->decRef(); } -#endif } +#endif void SoundManager::playGuiSound(const std::string &name) { |