summaryrefslogtreecommitdiff
path: root/src/effectmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-31 20:16:39 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-31 20:16:39 +0300
commit35d4ce0ed75b2575067007a85d5c211d292ebada (patch)
treee5749655db88531768635586e52508cefdfd8a5a /src/effectmanager.cpp
parent8f52bfee633b4aa2f7e49c1e16428d8f1c03fcfc (diff)
downloadmanaverse-35d4ce0ed75b2575067007a85d5c211d292ebada.tar.gz
manaverse-35d4ce0ed75b2575067007a85d5c211d292ebada.tar.bz2
manaverse-35d4ce0ed75b2575067007a85d5c211d292ebada.tar.xz
manaverse-35d4ce0ed75b2575067007a85d5c211d292ebada.zip
Rename SoundManager sigleton from sound to 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 5901e21ea..2d235bbfe 100644
--- a/src/effectmanager.cpp
+++ b/src/effectmanager.cpp
@@ -79,7 +79,7 @@ bool EffectManager::trigger(const int id, Being *const being,
being->controlParticle(selfFX);
}
if (!(*i).SFX.empty())
- sound.playSfx((*i).SFX);
+ soundManager.playSfx((*i).SFX);
break;
}
}
@@ -104,7 +104,7 @@ Particle *EffectManager::triggerReturn(const int id, Being *const being,
being->controlParticle(rValue);
}
if (!(*i).SFX.empty())
- sound.playSfx((*i).SFX);
+ soundManager.playSfx((*i).SFX);
break;
}
}
@@ -126,7 +126,7 @@ bool EffectManager::trigger(const int id, const int x, const int y,
if (!(*i).GFX.empty() && particleEngine)
particleEngine->addEffect((*i).GFX, x, y, rotation);
if (!(*i).SFX.empty())
- sound.playSfx((*i).SFX);
+ soundManager.playSfx((*i).SFX);
break;
}
}