mail[Wesnoth-commits] r20485 - /trunk/src/minimap.cpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by alinktomine on September 17, 2007 - 13:58:
Author: alink
Date: Mon Sep 17 13:57:31 2007
New Revision: 20485

URL: http://svn.gna.org/viewcvs/wesnoth?rev=20485&view=rev
Log:
Tiny simplification of the last commmit

Modified:
    trunk/src/minimap.cpp

Modified: trunk/src/minimap.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/minimap.cpp?rev=20485&r1=20484&r2=20485&view=diff
==============================================================================
--- trunk/src/minimap.cpp (original)
+++ trunk/src/minimap.cpp Mon Sep 17 13:57:31 2007
@@ -86,14 +86,14 @@
                                        if(surf == NULL) {
                                                continue;
                                        }
-                                       i = 
mini_terrain_cache.insert(cache_map::value_type(terrain,surf)).first;
+                                       i = 
cache.insert(cache_map::value_type(terrain,surf)).first;
                                }
 
                                surf = i->second;
                                
                                if (need_fogging) {
                                        surf = 
surface(adjust_surface_colour(surf,-50,-50,-50));
-                                       
mini_fogged_terrain_cache.insert(cache_map::value_type(terrain,surf));
+                                       
fog_cache.insert(cache_map::value_type(terrain,surf));
                                }
 
                                wassert(surf != NULL);




Related Messages


Powered by MHonArc, Updated Mon Sep 17 15:20:35 2007