aboutsummaryrefslogtreecommitdiff
path: root/src/clouds.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/clouds.cpp')
-rw-r--r--src/clouds.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clouds.cpp b/src/clouds.cpp
index e213d118f..29210e2b4 100644
--- a/src/clouds.cpp
+++ b/src/clouds.cpp
@@ -30,7 +30,7 @@ class Clouds;
Clouds *g_menuclouds = NULL;
irr::scene::ISceneManager *g_menucloudsmgr = NULL;
-static void cloud_3d_setting_changed(const std::string settingname, void *data)
+static void cloud_3d_setting_changed(const std::string &settingname, void *data)
{
((Clouds *)data)->readSettings();
}