summaryrefslogtreecommitdiff
path: root/src/being/being.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/being/being.cpp
parent5a537c0ee685a7afc332f6707fd255032eb9d77b (diff)
downloadmv-0278a66e30a3f2df0932ee501b5e5dc09b1a23ce.tar.gz
mv-0278a66e30a3f2df0932ee501b5e5dc09b1a23ce.tar.bz2
mv-0278a66e30a3f2df0932ee501b5e5dc09b1a23ce.tar.xz
mv-0278a66e30a3f2df0932ee501b5e5dc09b1a23ce.zip
Show portal names in popup if portal not present at map.
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 0779be63b..3cc51ef9d 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -233,6 +233,9 @@ Being::Being(const int id,
mGotComment = true;
}
+ if (mType == ActorType::Portal)
+ mShowName = false;
+
config.addListener("visiblenames", this);
reReadConfig();