summaryrefslogtreecommitdiff
path: root/src/effectmanager.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/effectmanager.cpp
parentee1fc0b63cb7f27df85c43474497b805df6e31f5 (diff)
downloadmanaverse-78afa659472cc4cfca37056088ed9cb9f79845eb.tar.gz
manaverse-78afa659472cc4cfca37056088ed9cb9f79845eb.tar.bz2
manaverse-78afa659472cc4cfca37056088ed9cb9f79845eb.tar.xz
manaverse-78afa659472cc4cfca37056088ed9cb9f79845eb.zip
Remove default parameters from soundmanager.
Diffstat (limited to 'src/effectmanager.cpp')
-rw-r--r--src/effectmanager.cpp6
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;
}
}