Author: anonymissimus
Date: Fri Aug  5 21:12:28 2011
New Revision: 50613

URL: http://svn.gna.org/viewcvs/wesnoth?rev=50613&view=rev
Log:
Keep filter_recall information on unit advancement (fix for bug #18325).
fendrin: This probably also fixes some LoW problems, see 
http://forums.wesnoth.org/viewtopic.php?f=4&t=34619&p=499960#p499960

Modified:
    trunk/src/unit.cpp

Modified: trunk/src/unit.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/unit.cpp?rev=50613&r1=50612&r2=50613&view=diff
==============================================================================
--- trunk/src/unit.cpp (original)
+++ trunk/src/unit.cpp Fri Aug  5 21:12:28 2011
@@ -793,6 +793,9 @@
                }
        }
 
+       //copy ínformation what this unit is able to recall
+       new_cfg.add_child("filter_recall", 
old_cfg.child_or_empty("filter_recall"));
+
        if(t->movement_type().get_parent()) {
                new_cfg.merge_with(t->movement_type().get_parent()->get_cfg());
        }


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

Reply via email to