summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index bfcb45eac..5ba258bf5 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -881,7 +881,7 @@ void Being::handleSkill(Being *const victim, const int damage,
void Being::setName(const std::string &name)
{
- if (mType == ActorType::Npc)
+ if (mType == ActorType::Npc || mType == ActorType::Portal)
{
mName = name.substr(0, name.find('#', 0));
showName();