[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src game.cpp
From: |
Cedric Duval |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src game.cpp |
Date: |
Mon, 01 Nov 2004 14:21:20 -0500 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Cedric Duval <address@hidden> 04/11/01 19:14:19
Modified files:
src : game.cpp
Log message:
Reverted code inadvertently removed. :)
20:02 < Ayin> Ce`dric: I removed what?
20:02 < Ayin> Ce`dric: Huuuuuuh? o_O
20:03 < Ayin> Ce`dric: This was an error. I dont't even know
how I did remove that, but it was not on purpose
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/game.cpp.diff?tr1=1.156&tr2=1.157&r1=text&r2=text
Patches:
Index: wesnoth/src/game.cpp
diff -u wesnoth/src/game.cpp:1.156 wesnoth/src/game.cpp:1.157
--- wesnoth/src/game.cpp:1.156 Mon Nov 1 00:29:51 2004
+++ wesnoth/src/game.cpp Mon Nov 1 19:14:18 2004
@@ -1,4 +1,4 @@
-/* $Id: game.cpp,v 1.156 2004/11/01 00:29:51 ydirson Exp $ */
+/* $Id: game.cpp,v 1.157 2004/11/01 19:14:18 cedricd Exp $ */
/*
Copyright (C) 2003 by David White <address@hidden>
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -1298,6 +1298,12 @@
if(size_t(res) < langs.size()) {
set_language(known_languages[res]);
preferences::set_locale(known_languages[res].localename);
+
+ //force a reload of configuration information
+ const bool old_cache = use_caching_;
+ use_caching_ = false;
+ init_config();
+ use_caching_ = old_cache;
}
hotkey::load_descriptions();
- [Wesnoth-cvs-commits] wesnoth/src game.cpp,
Cedric Duval <=