Author: esr
Date: Sat Nov 22 22:15:39 2008
New Revision: 30979

URL: http://svn.gna.org/viewcvs/wesnoth?rev=30979&view=rev
Log:
Nuke a commented-out macro, the {SIDES} argument was confusing wmllint.

Modified:
    trunk/data/campaigns/Son_Of_The_Black_Eye/utils/utils.cfg

Modified: trunk/data/campaigns/Son_Of_The_Black_Eye/utils/utils.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Son_Of_The_Black_Eye/utils/utils.cfg?rev=30979&r1=30978&r2=30979&view=diff
==============================================================================
--- trunk/data/campaigns/Son_Of_The_Black_Eye/utils/utils.cfg (original)
+++ trunk/data/campaigns/Son_Of_The_Black_Eye/utils/utils.cfg Sat Nov 22 
22:15:39 2008
@@ -152,67 +152,3 @@
     [/event]
 #enddef
 
-# This is commented out because it seems to incur a little delay at turn start
-# yet it's not actually used (the player or allies don't get any units spawned
-# for them in the final scenarios). Belongs to the above macro.
-#ifdef __UNUSED
-    [event]
-        name=side turn
-        first_time_only=no
-
-        {VARIABLE great_horde_sides {SIDES}}
-
-        [if]
-            [variable]
-                name=great_horde_sides
-                contains=$side_number
-            [/variable]
-
-            [then]
-                [store_unit]
-                    [filter]
-                        side={SIDES}
-                        x,y=1-99,1-99
-
-                        [not]
-                            canrecruit=yes
-                        [/not]
-
-                        [not]
-                            [filter_wml]
-                                [modifications]
-                                    [trait]
-                                        id=loyal
-                                    [/trait]
-                                [/modifications]
-                            [/filter_wml]
-                        [/not]
-
-                        [not]
-                            [filter_wml]
-                                [variables]
-                                    great_horde_upkeep_mod_applied=yes
-                                [/variables]
-                            [/filter_wml]
-                        [/not]
-                    [/filter]
-
-                    kill=yes
-                    variable=great_horde_units
-                [/store_unit]
-
-                {FOREACH great_horde_units i}
-                    {VARIABLE great_horde_units[$i].upkeep 
$great_horde_units[$i].level}
-                    {VARIABLE_OP great_horde_units[$i].upkeep add -1}
-                    {VARIABLE 
great_horde_units[$i].variables.great_horde_upkeep_mod_applied yes}
-
-                    [unstore_unit]
-                        variable=great_horde_units[$i]
-                    [/unstore_unit]
-                {NEXT i}
-
-                {CLEAR_VARIABLE great_horde_units}
-            [/then]
-        [/if]
-    [/event]
-#endif


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

Reply via email to