Author: espreon
Date: Wed Oct 26 21:17:37 2011
New Revision: 51661

URL: http://svn.gna.org/viewcvs/wesnoth?rev=51661&view=rev
Log:
Allow undo move to village if the village has already been cleared or if no 
bandits are spawned.

Modified:
    trunk/data/campaigns/The_Hammer_of_Thursagan/scenarios/05_Invaders.cfg

Modified: trunk/data/campaigns/The_Hammer_of_Thursagan/scenarios/05_Invaders.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/The_Hammer_of_Thursagan/scenarios/05_Invaders.cfg?rev=51661&r1=51660&r2=51661&view=diff
==============================================================================
--- trunk/data/campaigns/The_Hammer_of_Thursagan/scenarios/05_Invaders.cfg 
(original)
+++ trunk/data/campaigns/The_Hammer_of_Thursagan/scenarios/05_Invaders.cfg Wed 
Oct 26 21:17:37 2011
@@ -302,6 +302,9 @@
                                             speaker=unit
                                             message= _ "No bandits in this 
village."
                                         [/message]
+
+                                        [allow_undo]
+                                        [/allow_undo]
                                     [/then]
                                 [/if]
                             [/else]
@@ -309,6 +312,11 @@
                         {CLEAR_VARIABLE possible_indig_locations}
                         {CLEAR_VARIABLE indigs}
                     [/then]
+
+                    [else]
+                        [allow_undo]
+                        [/allow_undo]
+                    [/else]
                 [/if]
             [/else]
         [/if]


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

Reply via email to