diff options
author | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-06-18 19:55:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-18 19:55:15 +0200 |
commit | 4faaadc8d50d6ab7a19d22bd5a760c4b8321a51f (patch) | |
tree | 57ce8401a5f6538024c1f19d37d576fba21e147b /src/particles.h | |
parent | 8f7785771b9e02b1a1daf7a252550d78ea93053d (diff) | |
download | minetest-4faaadc8d50d6ab7a19d22bd5a760c4b8321a51f.tar.gz minetest-4faaadc8d50d6ab7a19d22bd5a760c4b8321a51f.tar.bz2 minetest-4faaadc8d50d6ab7a19d22bd5a760c4b8321a51f.zip |
Cpp11 patchset 11: continue working on constructor style migration (#6004)
Diffstat (limited to 'src/particles.h')
-rw-r--r-- | src/particles.h | 6 |
1 files changed, 3 insertions, 3 deletions
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; }; |