From 4ece2b9e32b5948628a20dece54ecfb369a17757 Mon Sep 17 00:00:00 2001 From: est31 Date: Thu, 9 Jul 2015 08:07:59 +0200 Subject: Update clouds enable_3d_clouds when setting changed --- src/clouds.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/clouds.h') diff --git a/src/clouds.h b/src/clouds.h index 348220fb1..195f48de0 100644 --- a/src/clouds.h +++ b/src/clouds.h @@ -83,9 +83,12 @@ public: BS * 1000000, m_cloud_y + BS - BS * camera_offset.Y, BS * 1000000); } + void readSettings(); + private: video::SMaterial m_material; core::aabbox3d m_box; + s16 m_passed_cloud_y; float m_cloud_y; u16 m_cloud_radius_i; bool m_enable_3d; -- cgit v1.2.3