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
This commit is contained in:
Cédric Duval 2004-11-01 19:14:18 +00:00
parent aeebfdbcf2
commit 55610c008d

View file

@ -1298,6 +1298,12 @@ bool game_controller::change_language()
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();