From 50335c6b1470c45753d720cebdf4af830ba7a46c Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Fri, 16 Jan 2009 08:36:33 -0700 Subject: Made emotes load in only one location, as well as fixing the code on the being so that the last emote draws (which got broken). Signed-off-by: Ira Rice --- src/being.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/being.h') diff --git a/src/being.h b/src/being.h index 4534b1ea..6dbcdfdd 100644 --- a/src/being.h +++ b/src/being.h @@ -351,6 +351,8 @@ class Being : public Sprite */ void controlParticle(Particle *particle); + AnimatedSprite* getEmote(int index) { return emotionSet[index]; } + void setEmote(Uint8 emotion, Uint8 emote_time) { mEmotion = emotion; -- cgit v1.2.3-70-g09d2