aboutsummaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorEsteban I. RM <me@exio4.xyz>2017-10-15 21:22:22 -0300
committerLoic Blot <loic.blot@unix-experience.fr>2017-10-17 19:22:09 +0200
commit792e013eaf4a572364457b96f6f9c07dafe6fe9a (patch)
tree124e08c9e3cc4704cd2a9ea49803fce96b046275 /src/game.cpp
parent93d185ee5d481c007d7b5569d046471dc60d40b6 (diff)
downloadminetest-792e013eaf4a572364457b96f6f9c07dafe6fe9a.tar.gz
minetest-792e013eaf4a572364457b96f6f9c07dafe6fe9a.tar.bz2
minetest-792e013eaf4a572364457b96f6f9c07dafe6fe9a.zip
don't pass g_settings around, and use it directly
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 7f717cb5f..cd4650baf 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -2051,8 +2051,8 @@ bool Game::initGui()
// Remove stale "recent" chat messages from previous connections
chat_backend->clearRecentChat();
- // Make sure the size of the recent messages buffer is right
- chat_backend->applySettings(g_settings);
+ // Make sure the size of the recent messages buffer is right
+ chat_backend->applySettings();
// Chat backend and console
gui_chat_console = new GUIChatConsole(guienv, guienv->getRootGUIElement(),