aboutsummaryrefslogtreecommitdiff
path: root/src/drawscene.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/drawscene.cpp')
-rw-r--r--src/drawscene.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drawscene.cpp b/src/drawscene.cpp
index 3a03743ee..663c8828c 100644
--- a/src/drawscene.cpp
+++ b/src/drawscene.cpp
@@ -494,7 +494,7 @@ void draw_scene(video::IVideoDriver *driver, scene::ISceneManager *smgr,
catch(SettingNotFoundException) {}
#endif
- std::string draw_mode = g_settings->get("3d_mode");
+ const std::string &draw_mode = g_settings->get("3d_mode");
smgr->drawAll();