When using a PlaySoundOnEntity Event, you no longer have to provide the child of an entity as parameter.

This commit is contained in:
stiffly
2016-02-10 11:04:18 +01:00
parent 2c64ffc3d1
commit 94ff12cf66
5 changed files with 15 additions and 26 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ private:
float m_BGMVolumeChannel = 1.0f;
float m_SFXVolumeChannel = 1.0f;
EntityWrapper m_LocalPlayer = EntityWrapper();
// Events
EventRelay<SoundManager, Events::PlaySoundOnEntity> m_EPlaySoundOnEntity;
bool OnPlaySoundOnEntity(const Events::PlaySoundOnEntity &e);