]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/game.cpp
don't pass g_settings around, and use it directly
[dragonfireclient.git] / src / game.cpp
index 7f717cb5f04e974419401a9b1dce6c1f7504867f..cd4650baf0712b7355f23cbf9ce1f28541cb414a 100644 (file)
@@ -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(),