diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-19 01:11:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-19 01:11:52 +0300 |
commit | 0d6ca48b79a596bec11fc7351fadbf3b1fc1f67b (patch) | |
tree | 4d03ab1e6b655bccafbad06e5cc3386a4f6480d7 /src/resources/beinginfo.cpp | |
parent | 29a93440367af32463f285ae5f0bd2aa23aadc92 (diff) | |
download | manaplus-0d6ca48b79a596bec11fc7351fadbf3b1fc1f67b.tar.gz manaplus-0d6ca48b79a596bec11fc7351fadbf3b1fc1f67b.tar.bz2 manaplus-0d6ca48b79a596bec11fc7351fadbf3b1fc1f67b.tar.xz manaplus-0d6ca48b79a596bec11fc7351fadbf3b1fc1f67b.zip |
Move itemsoundevent into separate file.
Diffstat (limited to 'src/resources/beinginfo.cpp')
-rw-r--r-- | src/resources/beinginfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/beinginfo.cpp b/src/resources/beinginfo.cpp index a12961315..a20e55d86 100644 --- a/src/resources/beinginfo.cpp +++ b/src/resources/beinginfo.cpp @@ -126,7 +126,7 @@ void BeingInfo::setTargetCursorSize(const std::string &size) } } -void BeingInfo::addSound(const ItemSoundEvent event, +void BeingInfo::addSound(const ItemSoundEvent::Type event, const std::string &filename, const int delay) { @@ -137,7 +137,7 @@ void BeingInfo::addSound(const ItemSoundEvent event, mSounds[event]->push_back(SoundInfo("sfx/" + filename, delay)); } -const SoundInfo &BeingInfo::getSound(const ItemSoundEvent event) const +const SoundInfo &BeingInfo::getSound(const ItemSoundEvent::Type event) const { static SoundInfo emptySound("", 0); |