From 4faaadc8d50d6ab7a19d22bd5a760c4b8321a51f Mon Sep 17 00:00:00 2001 From: Loïc Blot Date: Sun, 18 Jun 2017 19:55:15 +0200 Subject: Cpp11 patchset 11: continue working on constructor style migration (#6004) --- src/particles.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/particles.h') diff --git a/src/particles.h b/src/particles.h index 87583aae6..9b10afe4b 100644 --- a/src/particles.h +++ b/src/particles.h @@ -86,7 +86,7 @@ private: void updateVertices(); video::S3DVertex m_vertices[4]; - float m_time; + float m_time = 0.0f; float m_expiration; ClientEnvironment *m_env; @@ -110,8 +110,8 @@ private: bool m_vertical; v3s16 m_camera_offset; struct TileAnimationParams m_animation; - float m_animation_time; - int m_animation_frame; + float m_animation_time = 0.0f; + int m_animation_frame = 0; u8 m_glow; }; -- cgit v1.2.3