diff options
Diffstat (limited to 'src/content_cso.cpp')
-rw-r--r-- | src/content_cso.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/content_cso.cpp b/src/content_cso.cpp index aca71212b..10d1f498b 100644 --- a/src/content_cso.cpp +++ b/src/content_cso.cpp @@ -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, v3f pos, v2f size) { infostream<<"SmokePuffCSO: constructing"<<std::endl; m_spritenode = smgr->addBillboardSceneNode( |