CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Jon Daniel <[EMAIL PROTECTED]>  05/09/04 20:50:24

Modified files:
        src            : game.cpp 

Log message:
        Fixed bug which caused the current tip to be displayed in the old 
language if language was changed

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

Patches:
Index: wesnoth/src/game.cpp
diff -u wesnoth/src/game.cpp:1.274 wesnoth/src/game.cpp:1.275
--- wesnoth/src/game.cpp:1.274  Sun Sep  4 13:01:13 2005
+++ wesnoth/src/game.cpp        Sun Sep  4 20:50:23 2005
@@ -1,4 +1,4 @@
-/* $Id: game.cpp,v 1.274 2005/09/04 13:01:13 j_daniel Exp $ */
+/* $Id: game.cpp,v 1.275 2005/09/04 20:50:23 j_daniel Exp $ */
 /*
    Copyright (C) 2003 by David White <[EMAIL PROTECTED]>
    Part of the Battle for Wesnoth Project http://www.wesnoth.org/
@@ -1693,8 +1693,10 @@
                        }
                } else if(res == gui::CHANGE_LANGUAGE) {
                        if(game.change_language() == false) {
+                               tips_of_day.clear();
                                continue;
                        }
+                       tips_of_day.clear();
                } else if(res == gui::EDIT_PREFERENCES) {
                        game.show_preferences();
                        continue;


Reply via email to