diff --git a/src/Battling/Models/Creature.hpp b/src/Battling/Models/Creature.hpp index 9bf5d6f..9d0cee0 100644 --- a/src/Battling/Models/Creature.hpp +++ b/src/Battling/Models/Creature.hpp @@ -186,7 +186,7 @@ namespace CreatureLib::Battling { void SetStatus(const ArbUt::StringView& name); void ClearStatus(); - const ArbUt::StringView& GetStatusName() noexcept { + const ArbUt::StringView& GetStatusName() const noexcept { if (_status == nullptr) return ArbUt::StringView::EmptyString(); return _status->GetName();