Author: silene
Date: Sat Feb 13 10:42:10 2010
New Revision: 41176

URL: http://svn.gna.org/viewcvs/wesnoth?rev=41176&view=rev
Log:
Allowed [store_locations] tag to report tiles outside the map. (Fix for bug 
#15349.)

Modified:
    trunk/src/game_events.cpp

Modified: trunk/src/game_events.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game_events.cpp?rev=41176&r1=41175&r2=41176&view=diff
==============================================================================
--- trunk/src/game_events.cpp (original)
+++ trunk/src/game_events.cpp Sat Feb 13 10:42:10 2010
@@ -2542,7 +2542,7 @@
        std::set<map_location> res;
        terrain_filter filter(cfg, *resources::units);
        filter.restrict_size(game_config::max_loop);
-       filter.get_locations(res);
+       filter.get_locations(res, true);
 
        resources::state_of_game->clear_variable_cfg(variable);
        for(std::set<map_location>::const_iterator j = res.begin(); j != 
res.end(); ++j) {


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

Reply via email to