CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     David White <[EMAIL PROTECTED]> 05/09/18 20:41:00

Modified files:
        src            : playlevel.cpp 

Log message:
        lock updates during prestart event to try to stop it displaying things

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

Patches:
Index: wesnoth/src/playlevel.cpp
diff -u wesnoth/src/playlevel.cpp:1.216 wesnoth/src/playlevel.cpp:1.217
--- wesnoth/src/playlevel.cpp:1.216     Tue Sep  6 13:53:14 2005
+++ wesnoth/src/playlevel.cpp   Sun Sep 18 20:40:59 2005
@@ -1,4 +1,4 @@
-/* $Id: playlevel.cpp,v 1.216 2005/09/06 13:53:14 ott Exp $ */
+/* $Id: playlevel.cpp,v 1.217 2005/09/18 20:40:59 Sirp Exp $ */
 /*
    Copyright (C) 2003 by David White <[EMAIL PROTECTED]>
    Part of the Battle for Wesnoth Project http://www.wesnoth.org/
@@ -477,7 +477,8 @@
 
                //pre-start events must be executed before any GUI operation,
                //as those may cause the display to be refreshed.
-               if(!loading_game) {
+               if(!loading_game) {
+                       update_locker lock_display(gui.video());
                        game_events::fire("prestart");
                }
 


Reply via email to