From 8b2464a723f7039a3efbc0c7d2e883729b3fa7dd Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 3 Aug 2014 00:46:38 +0300 Subject: Fix some casts. --- src/being/being.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/being/being.h') diff --git a/src/being/being.h b/src/being/being.h index fc7f27bb7..929ebf8d9 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -756,7 +756,8 @@ class Being notfinal : public ActorSprite, static void clearCache(); static std::string loadComment(const std::string &name, - const int type) A_WARN_UNUSED; + const ActorType::Type &type) + A_WARN_UNUSED; static void saveComment(const std::string &restrict name, const std::string &restrict comment, @@ -908,7 +909,7 @@ class Being notfinal : public ActorSprite, void createSpeechBubble(); - static int getDefaultEffectId(const int type); + static int getDefaultEffectId(const AttackType &type); BeingInfo *mInfo; AnimatedSprite *mEmotionSprite; -- cgit v1.2.3-70-g09d2