Author: esr
Date: Sun Jun 24 10:25:08 2007
New Revision: 18429

URL: http://svn.gna.org/viewcvs/wesnoth?rev=18429&view=rev
Log:
Another small step in display refactoring.

Modified:
    trunk/src/display.cpp

Modified: trunk/src/display.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/display.cpp?rev=18429&r1=18428&r2=18429&view=diff
==============================================================================
--- trunk/src/display.cpp (original)
+++ trunk/src/display.cpp Sun Jun 24 10:25:08 2007
@@ -1224,8 +1224,6 @@
 
        process_reachmap_changes();
 
-       int simulate_delay = 0;
-
        if(!panelsDrawn_) {
                draw_all_panels();
                //invalidate the reports so they are redrawn
@@ -1262,13 +1260,15 @@
                redrawMinimap_ = true;
        }
 
+       int simulate_delay = 0;
        if(!map_.empty() && !invalidated_.empty()) {
                changed = true;
                
                halo::unrender(invalidated_);
 
-               // Units can overlap multiple hexes, so we need to (1) redraw
-               // them last, and (2) redraw them if they are adjacent existing 
hexes.
+               // Units can overlap multiple hexes, so we need to (1)
+               // redraw them last, and (2) redraw them if they are
+               // adjacent existing hexes.
                std::set<gamemap::location> unit_invals;
 
                SDL_Rect clip_rect = map_area();


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to