mail[Wesnoth-commits] r44883 - /trunk/src/whiteboard/recruit.cpp


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

Header


Content

Posted by gabrielmorin on July 30, 2010 - 01:32:
Author: gabba
Date: Fri Jul 30 01:32:13 2010
New Revision: 44883

URL: http://svn.gna.org/viewcvs/wesnoth?rev=44883&view=rev
Log:
Whiteboard/recruit: set movement and attack of temp unit in future map to 0.

Modified:
    trunk/src/whiteboard/recruit.cpp

Modified: trunk/src/whiteboard/recruit.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/whiteboard/recruit.cpp?rev=44883&r1=44882&r2=44883&view=diff
==============================================================================
--- trunk/src/whiteboard/recruit.cpp (original)
+++ trunk/src/whiteboard/recruit.cpp Fri Jul 30 01:32:13 2010
@@ -52,6 +52,8 @@
 {
        fake_unit_.reset(create_corresponding_unit(), 
wb::manager::fake_unit_deleter());
        fake_unit_->set_location(recruit_hex_);
+       fake_unit_->set_movement(0);
+       fake_unit_->set_attacks(0);
        fake_unit_->set_ghosted(false);
        resources::screen->place_temporary_unit(fake_unit_.get());
 }




Related Messages


Powered by MHonArc, Updated Fri Jul 30 01:40:15 2010