mail[Wesnoth-commits] r28450 - /trunk/data/core/macros/utils.cfg


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

Header


Content

Posted by shadowm2006 on August 11, 2008 - 06:43:
Author: shadowmaster
Date: Sun Aug 10 22:57:21 2008
New Revision: 28450

URL: http://svn.gna.org/viewcvs/wesnoth?rev=28450&view=rev
Log:
* Fixed FULL_HEAL macro, which was not doing anything due to a missing 
[unstore_unit]

Modified:
    trunk/data/core/macros/utils.cfg

Modified: trunk/data/core/macros/utils.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/core/macros/utils.cfg?rev=28450&r1=28449&r2=28450&view=diff
==============================================================================
--- trunk/data/core/macros/utils.cfg (original)
+++ trunk/data/core/macros/utils.cfg Sun Aug 10 22:57:21 2008
@@ -306,8 +306,6 @@
         [filter]
             {FILTER}
         [/filter]
-
-        kill=no
         variable=FULL_HEAL_temp
     [/store_unit]
 
@@ -317,6 +315,11 @@
         value=$FULL_HEAL_temp[$FULL_HEAL_i].max_hitpoints
     [/set_variable]
     {NEXT FULL_HEAL_i}
+
+    [unstore_unit]
+        find_vacant=no
+        variable=FULL_HEAL_temp
+    [/unstore_unit]
 
     {CLEAR_VARIABLE FULL_HEAL_temp}
     {CLEAR_VARIABLE FULL_HEAL_i}




Related Messages


Powered by MHonArc, Updated Mon Aug 11 08:21:57 2008