Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/StarMonster.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/game/StarMonster.cpp')
-rw-r--r--source/game/StarMonster.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/game/StarMonster.cpp b/source/game/StarMonster.cpp
index 98f4642..7e73b8b 100644
--- a/source/game/StarMonster.cpp
+++ b/source/game/StarMonster.cpp
@@ -818,6 +818,10 @@ Vec2F Monster::nametagOrigin() const {
return mouthPosition(false);
}
+String Monster::nametag() const {
+ return name();
+}
+
bool Monster::aggressive() const {
return m_aggressive;
}