]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/content_cso.cpp
Turn off verbose info message introduced accidentally with ae9b1aa
[dragonfireclient.git] / src / content_cso.cpp
index aca71212b648f5e678456680faab173910db7ea4..04c503f44de72bd959b2a64e4b4d84b5249b699d 100644 (file)
@@ -26,13 +26,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 
 class SmokePuffCSO: public ClientSimpleObject
 {
-       float m_age;
-       scene::IBillboardSceneNode *m_spritenode;
+       float m_age = 0.0f;
+       scene::IBillboardSceneNode *m_spritenode = nullptr;
 public:
        SmokePuffCSO(scene::ISceneManager *smgr,
-                       ClientEnvironment *env, v3f pos, v2f size):
-               m_age(0),
-               m_spritenode(NULL)
+                       ClientEnvironment *env, const v3f &pos, const v2f &size)
        {
                infostream<<"SmokePuffCSO: constructing"<<std::endl;
                m_spritenode = smgr->addBillboardSceneNode(