diff options
author | sfan5 <sfan5@live.de> | 2020-05-25 23:36:45 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2020-05-29 22:54:50 +0200 |
commit | db7c262ee85c5bcae68354280848218dbf14bf55 (patch) | |
tree | b60fa5ac2b19668d6250fd290ee337cec5250972 /src/client/content_cao.h | |
parent | 34862a644256f2717923de6d35288114a84acd19 (diff) | |
download | minetest-db7c262ee85c5bcae68354280848218dbf14bf55.tar.gz minetest-db7c262ee85c5bcae68354280848218dbf14bf55.tar.bz2 minetest-db7c262ee85c5bcae68354280848218dbf14bf55.zip |
content_cao: Do not expire visuals when not necessary
fixes #6572
Diffstat (limited to 'src/client/content_cao.h')
-rw-r--r-- | src/client/content_cao.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/content_cao.h b/src/client/content_cao.h index c53b81433..03a355204 100644 --- a/src/client/content_cao.h +++ b/src/client/content_cao.h @@ -68,7 +68,6 @@ struct SmoothTranslatorWrappedv3f : SmoothTranslator<v3f> class GenericCAO : public ClientActiveObject { private: - void readAOMessageProperties(std::istream &is); // Only set at initialization std::string m_name = ""; bool m_is_player = false; @@ -131,6 +130,8 @@ private: // Settings bool m_enable_shaders = false; + bool visualExpiryRequired(const ObjectProperties &newprops) const; + public: GenericCAO(Client *client, ClientEnvironment *env); |