diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-14 02:21:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-14 02:21:30 +0300 |
commit | 78afa659472cc4cfca37056088ed9cb9f79845eb (patch) | |
tree | 82396c65956514c58fdd696dc71e7400bb6d1379 /src/effectmanager.cpp | |
parent | ee1fc0b63cb7f27df85c43474497b805df6e31f5 (diff) | |
download | mv-78afa659472cc4cfca37056088ed9cb9f79845eb.tar.gz mv-78afa659472cc4cfca37056088ed9cb9f79845eb.tar.bz2 mv-78afa659472cc4cfca37056088ed9cb9f79845eb.tar.xz mv-78afa659472cc4cfca37056088ed9cb9f79845eb.zip |
Remove default parameters from soundmanager.
Diffstat (limited to 'src/effectmanager.cpp')
-rw-r--r-- | src/effectmanager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/effectmanager.cpp b/src/effectmanager.cpp index 79886293f..3f87bfece 100644 --- a/src/effectmanager.cpp +++ b/src/effectmanager.cpp @@ -137,7 +137,7 @@ bool EffectManager::trigger(const int id, being->controlAutoParticle(selfFX); } if (!effect.sfx.empty()) - soundManager.playSfx(effect.sfx); + soundManager.playSfx(effect.sfx, 0, 0); if (!effect.sprite.empty()) being->addEffect(effect.sprite); return rValue; @@ -168,7 +168,7 @@ Particle *EffectManager::triggerReturn(const int id, being->controlCustomParticle(rValue); } if (!effect.sfx.empty()) - soundManager.playSfx(effect.sfx); + soundManager.playSfx(effect.sfx, 0, 0); if (!effect.sprite.empty()) being->addEffect(effect.sprite); return rValue; @@ -203,7 +203,7 @@ bool EffectManager::trigger(const int id, mTimers.push_back(ParticleTimer(particle, endTime)); } if (!effect.sfx.empty()) - soundManager.playSfx(effect.sfx); + soundManager.playSfx(effect.sfx, 0, 0); return rValue; } } |