Author: shadowmaster
Date: Tue Nov 24 17:59:39 2009
New Revision: 39915

URL: http://svn.gna.org/viewcvs/wesnoth?rev=39915&view=rev
Log:
Simplify code of RISE_UP_RISE_UP macro in TRoW

Modified:
    trunk/data/campaigns/The_Rise_Of_Wesnoth/utils/trow-macros.cfg

Modified: trunk/data/campaigns/The_Rise_Of_Wesnoth/utils/trow-macros.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/The_Rise_Of_Wesnoth/utils/trow-macros.cfg?rev=39915&r1=39914&r2=39915&view=diff
==============================================================================
--- trunk/data/campaigns/The_Rise_Of_Wesnoth/utils/trow-macros.cfg (original)
+++ trunk/data/campaigns/The_Rise_Of_Wesnoth/utils/trow-macros.cfg Tue Nov 24 
17:59:39 2009
@@ -117,10 +117,17 @@
         [/filter]
     [/store_unit]
 
-#ifdef EASY
     [unit]
         name= _ "A Former Friend"
+#ifdef EASY
         type=Walking Corpse
+#endif
+#ifdef NORMAL
+        type=Soulless
+#endif
+#ifdef HARD
+        type=Ghoul
+#endif
         side=2
         x={X}
         y={Y}
@@ -130,35 +137,6 @@
             {TRAIT_LOYAL}
         [/modifications]
     [/unit]
-#endif
-#ifdef NORMAL
-    [unit]
-        name= _ "A Former Friend"
-        type=Soulless
-        side=2
-        x={X}
-        y={Y}
-        moves=0
-        [modifications]
-            {TRAIT_UNDEAD}
-            {TRAIT_LOYAL}
-        [/modifications]
-    [/unit]
-#endif
-#ifdef HARD
-    [unit]
-        name= _ "A Former Friend"
-        type=Ghoul
-        side=2
-        x={X}
-        y={Y}
-        moves=0
-        [modifications]
-            {TRAIT_UNDEAD}
-            {TRAIT_LOYAL}
-        [/modifications]
-    [/unit]
-#endif
 
     {CLEAR_VARIABLE dead_store}
 #enddef


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

Reply via email to