Made Creature::GetStatusName const.
continuous-integration/drone/push Build is passing Details

Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
This commit is contained in:
Deukhoofd 2021-09-21 22:19:26 +02:00
parent ce30077a5d
commit a361716233
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
1 changed files with 1 additions and 1 deletions

View File

@ -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();