aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2020-10-20 16:34:14 +0200
committersfan5 <sfan5@live.de>2020-10-20 16:36:05 +0200
commitc7aa92aaed27ad8e10af7463b154b5b580c86da5 (patch)
treef9a11fc29897f52733c66fa2e57985e54751c46c /src
parent4f2303849e0f929524695a9e3719ec486b47ddd1 (diff)
downloadminetest-c7aa92aaed27ad8e10af7463b154b5b580c86da5.tar.gz
minetest-c7aa92aaed27ad8e10af7463b154b5b580c86da5.tar.bz2
minetest-c7aa92aaed27ad8e10af7463b154b5b580c86da5.zip
Fix show_on_minimap default value for local player
fixes #10526
Diffstat (limited to 'src')
-rw-r--r--src/client/content_cao.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/content_cao.cpp b/src/client/content_cao.cpp
index 42184b08f..29a3acf25 100644
--- a/src/client/content_cao.cpp
+++ b/src/client/content_cao.cpp
@@ -354,6 +354,8 @@ void GenericCAO::initialize(const std::string &data)
m_is_local_player = true;
m_is_visible = false;
player->setCAO(this);
+
+ m_prop.show_on_minimap = false;
}
}