summaryrefslogtreecommitdiff
path: root/src/resources/emoteinfo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-05 22:37:08 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-05 22:37:08 +0300
commitb29f54f0b8010a73550b9b5fed534253170b6f03 (patch)
tree226f5a9bb3f515232e29951562d13b0aa5054bd4 /src/resources/emoteinfo.h
parentedc6ce053eafbaaa55fcf7728e449d9e458a1ddc (diff)
downloadmanaplus-b29f54f0b8010a73550b9b5fed534253170b6f03.tar.gz
manaplus-b29f54f0b8010a73550b9b5fed534253170b6f03.tar.bz2
manaplus-b29f54f0b8010a73550b9b5fed534253170b6f03.tar.xz
manaplus-b29f54f0b8010a73550b9b5fed534253170b6f03.zip
Allow play sound effect if show emote.
Diffstat (limited to 'src/resources/emoteinfo.h')
-rw-r--r--src/resources/emoteinfo.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/resources/emoteinfo.h b/src/resources/emoteinfo.h
index 88902d0b9..44cf736a3 100644
--- a/src/resources/emoteinfo.h
+++ b/src/resources/emoteinfo.h
@@ -35,7 +35,8 @@ struct EmoteInfo final
EmoteInfo() :
sprites(),
particles(),
- time(400)
+ time(400),
+ effectId(-1)
{ }
A_DELETE_COPY(EmoteInfo)
@@ -43,6 +44,7 @@ struct EmoteInfo final
std::list<EmoteSprite*> sprites;
StringVect particles;
int time;
+ int effectId;
};
#endif // RESOURCES_EMOTEINFO_H