From 72ceaaa426166bfa425f519c2418a66872839e12 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Sat, 2 Mar 2024 17:26:44 +0100 Subject: Changed server type to "enum class" --- src/statuseffect.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/statuseffect.h') diff --git a/src/statuseffect.h b/src/statuseffect.h index 5b1a7e23..20e106a2 100644 --- a/src/statuseffect.h +++ b/src/statuseffect.h @@ -25,7 +25,6 @@ #include "particle.h" #include "animatedsprite.h" -#include "resources/animation.h" #include "utils/xml.h" class StatusEffect @@ -59,7 +58,7 @@ public: /** * Retrieves an action to perform, or SpriteAction::INVALID */ - std::string getAction(); + std::string getAction() const; /** * Determines whether the particle effect should be restarted when the @@ -110,7 +109,7 @@ private: std::string mParticleEffect; std::string mIcon; std::string mAction; - bool mPersistentParticleEffect; + bool mPersistentParticleEffect = false; }; #endif // !defined(STATUS_EFFECT_H) -- cgit v1.2.3-70-g09d2