diff options
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/being.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp index f52371d78..40d20fe98 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -221,7 +221,7 @@ Being::Being(const int id, setMap(map); setSubtype(subtype, 0); - if (mType == ActorType::Player) + if (mType == ActorType::Player || mType == ActorType::Mercenary) mShowName = config.getBoolValue("visiblenames"); else if (mType != ActorType::Npc) mGotComment = true; @@ -838,7 +838,7 @@ void Being::setName(const std::string &name) { mName = name; - if (mType == ActorType::Player && getShowName()) + if (getShowName()) showName(); } } |