Author: alink
Date: Thu Aug 23 21:18:17 2007
New Revision: 19747

URL: http://svn.gna.org/viewcvs/wesnoth?rev=19747&view=rev
Log:
Remove the flush of the image cache when reloading game
(cost a lot of files reloading when just reloading a savegame)
But we still need some smarter flush for this cache.

Modified:
    trunk/src/builder.cpp

Modified: trunk/src/builder.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/builder.cpp?rev=19747&r1=19746&r2=19747&view=diff
==============================================================================
--- trunk/src/builder.cpp (original)
+++ trunk/src/builder.cpp Thu Aug 23 21:18:17 2007
@@ -136,8 +136,8 @@
                map_(map), tile_map_(map.w(), map.h())
 {
        // Make sure there's nothing left in the cache, 
-       // since it might give problems
-       image::flush_cache();
+       // since it might give problems (or not?)
+       //image::flush_cache();
 
        parse_config(cfg);
        parse_config(level);


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

Reply via email to