summaryrefslogtreecommitdiff
path: root/src/actormanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-28 15:04:05 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-28 15:04:05 +0300
commit0278a66e30a3f2df0932ee501b5e5dc09b1a23ce (patch)
tree733f005cf75347666908bf5cf40e99e870cb728c /src/actormanager.cpp
parent5a537c0ee685a7afc332f6707fd255032eb9d77b (diff)
downloadmanaplus-0278a66e30a3f2df0932ee501b5e5dc09b1a23ce.tar.gz
manaplus-0278a66e30a3f2df0932ee501b5e5dc09b1a23ce.tar.bz2
manaplus-0278a66e30a3f2df0932ee501b5e5dc09b1a23ce.tar.xz
manaplus-0278a66e30a3f2df0932ee501b5e5dc09b1a23ce.zip
Show portal names in popup if portal not present at map.
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r--src/actormanager.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/actormanager.cpp b/src/actormanager.cpp
index a27cd0f34..d920d63ac 100644
--- a/src/actormanager.cpp
+++ b/src/actormanager.cpp
@@ -253,6 +253,10 @@ Being *ActorManager::createBeing(const int id,
if (localPlayer)
localPlayer->checkNewName(being);
}
+ else if (type == ActorType::Portal)
+ {
+ beingHandler->requestNameById(id);
+ }
if (type == ActorType::Player)
{
if (botCheckerWindow)