Author: esr
Date: Sun Jun 24 12:03:32 2007
New Revision: 18432

URL: http://svn.gna.org/viewcvs/wesnoth?rev=18432&view=rev
Log:
Remove some apparenntly no-op code -- looks like somebody simplified the code
for selecting image types in the tile drawer without completely cleaning
up after the change.

This is isolated as a commit on its own to document the change, just in 
case I've misunderstood the intention.

Modified:
    trunk/src/display.cpp

Modified: trunk/src/display.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/display.cpp?rev=18432&r1=18431&r2=18432&view=diff
==============================================================================
--- trunk/src/display.cpp (original)
+++ trunk/src/display.cpp Sun Jun 24 12:03:32 2007
@@ -1767,10 +1767,6 @@
        image::TYPE image_type = image::SCALED_TO_HEX;
 
        std::string mask = tod_at.image_mask;
-       if(tod_hex_mask1 != NULL || tod_hex_mask2 != NULL || tod.image_mask != 
tod_at.image_mask) {
-               image_type = image::SCALED_TO_HEX;
-               mask = tod_at.image_mask;
-       }
 
        unit_map::iterator un = find_visible_unit(units_, loc, map_, 
                                        teams_,teams_[currentTeam_]);


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

Reply via email to