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

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

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


From: David White
Subject: [Wesnoth-cvs-commits] wesnoth/src playlevel.cpp
Date: Fri, 28 Jan 2005 23:13:18 -0500

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     David White <address@hidden>    05/01/29 04:13:18

Modified files:
        src            : playlevel.cpp 

Log message:
        fixed bug where sometimes a cursor other than the normal cursor could 
remain after a scenario

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

Patches:
Index: wesnoth/src/playlevel.cpp
diff -u wesnoth/src/playlevel.cpp:1.172 wesnoth/src/playlevel.cpp:1.173
--- wesnoth/src/playlevel.cpp:1.172     Fri Jan 28 08:21:22 2005
+++ wesnoth/src/playlevel.cpp   Sat Jan 29 04:13:17 2005
@@ -1,4 +1,4 @@
-/* $Id: playlevel.cpp,v 1.172 2005/01/28 08:21:22 ettin Exp $ */
+/* $Id: playlevel.cpp,v 1.173 2005/01/29 04:13:17 Sirp Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -118,7 +118,10 @@
                config* level, CVideo& video,
                game_state& state_of_game,
                const std::vector<config*>& story)
-{
+{
+       //guarantee the cursor goes back to 'normal' at the end of the level
+       const cursor::setter cursor_setter(cursor::NORMAL);
+
        const int ticks = SDL_GetTicks();
        LOG_NG << "in play_level()...\n";
 




reply via email to

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