wesnoth-cvs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-cvs-commits] wesnoth/src game.cpp


From: Philippe Plantier
Subject: [Wesnoth-cvs-commits] wesnoth/src game.cpp
Date: Sat, 19 Mar 2005 18:07:01 -0500

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Philippe Plantier <address@hidden>      05/03/19 23:07:01

Modified files:
        src            : game.cpp 

Log message:
        Fixed game loading being broken when changing languages.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/game.cpp.diff?tr1=1.208&tr2=1.209&r1=text&r2=text

Patches:
Index: wesnoth/src/game.cpp
diff -u wesnoth/src/game.cpp:1.208 wesnoth/src/game.cpp:1.209
--- wesnoth/src/game.cpp:1.208  Sat Mar 19 13:02:34 2005
+++ wesnoth/src/game.cpp        Sat Mar 19 23:07:01 2005
@@ -1,4 +1,4 @@
-/* $Id: game.cpp,v 1.208 2005/03/19 13:02:34 gruikya Exp $ */
+/* $Id: game.cpp,v 1.209 2005/03/19 23:07:01 gruikya Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -576,6 +576,9 @@
 {
        units_data_.clear();
        defines_map_.clear();
+       //Resets old_defines_map_, to force refresh_game_cfg to reload
+       //everything.
+       old_defines_map_.clear();
 
        //load in the game's configuration files
 #if defined(__APPLE__)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]