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

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