Author: fendrin
Date: Sun May 29 18:58:59 2011
New Revision: 49700
URL: http://svn.gna.org/viewcvs/wesnoth?rev=49700&view=rev
Log:
Renamed the [recall_filter] tag to [filter_recall].
Modified:
trunk/src/unit.cpp
trunk/src/unit.hpp
Modified: trunk/src/unit.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/unit.cpp?rev=49700&r1=49699&r2=49700&view=diff
==============================================================================
--- trunk/src/unit.cpp (original)
+++ trunk/src/unit.cpp Sun May 29 18:58:59 2011
@@ -479,7 +479,7 @@
}
set_recruits(utils::split(cfg["extra_recruit"]));
- cfg_.add_child("recall_filter", cfg.child_or_empty("recall_filter"));
+ cfg_.add_child("filter_recall", cfg.child_or_empty("filter_recall"));
/** @todo Are these modified by read? if not they can be removed. */
getsHit_=0;
Modified: trunk/src/unit.hpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/unit.hpp?rev=49700&r1=49699&r2=49700&view=diff
==============================================================================
--- trunk/src/unit.hpp (original)
+++ trunk/src/unit.hpp Sun May 29 18:58:59 2011
@@ -131,7 +131,7 @@
const std::vector<std::string>& recruits() const
{ return recruit_list_; }
void set_recruits(const std::vector<std::string>& recruits);
- const config& recall_filter() const { return
cfg_.child("recall_filter"); }
+ const config& recall_filter() const { return
cfg_.child("filter_recall"); }
bool incapacitated() const { return get_state(STATE_PETRIFIED); }
int total_movement() const { return max_movement_; }
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits