Author: zookeeper
Date: Sun Jul 13 18:40:04 2008
New Revision: 28005

URL: http://svn.gna.org/viewcvs/wesnoth?rev=28005&view=rev
Log:
Removed some debug messages.

Modified:
    
trunk/data/campaigns/Under_the_Burning_Suns/scenarios/scen1/outer_villages.cfg

Modified: 
trunk/data/campaigns/Under_the_Burning_Suns/scenarios/scen1/outer_villages.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Under_the_Burning_Suns/scenarios/scen1/outer_villages.cfg?rev=28005&r1=28004&r2=28005&view=diff
==============================================================================
--- 
trunk/data/campaigns/Under_the_Burning_Suns/scenarios/scen1/outer_villages.cfg 
(original)
+++ 
trunk/data/campaigns/Under_the_Burning_Suns/scenarios/scen1/outer_villages.cfg 
Sun Jul 13 18:40:04 2008
@@ -62,7 +62,6 @@
             [then]
                 # We generate a random number between 1 and 100
                 {VARIABLE_OP fate random 1..100}
-                               {DEBUG_MSG $|fate}
                 # And check if it's lower than a treshold of finding an unit 
that's dependent on diffficulty level
                 # 60% on easy, 50% on normal, 40% on hard. We use preprocesor 
to choose apropriate chance
                 [if]
@@ -88,7 +87,7 @@
                         [while]
                             [variable]
                                 name=fate
-                                                               
equals=$elf_pool_counter
+                                equals=$elf_pool_counter
                             [/variable]
                             [do]
                                 # Now we can draw an elf. It's important to 
remember that even though we have $elf_pool_counter
@@ -96,21 +95,19 @@
                                 {VARIABLE_OP fate random 1..$|elf_pool_counter}
                                 {VARIABLE_OP fate add -1}
                                 # Create an unit with data drawn and place it 
on an empty hex by the village, since he village itself is occupied
-                                                               [if]
-                                                                       
[variable]
-                                                                               
name=flagset[$fate].flag
-                                                                               
equals=set
-                                                                       
[/variable]
-                                                                       [then]
-                                                                               
{DEBUG_MSG "skipping"}
-                                                                               
{VARIABLE fate $|elf_pool_counter}
-                                                                       [/then]
-                                                                       [else]
-                                                                               
{VARIABLE flagset[$|fate].flag set}
-                                                                               
{DEBUG_MSG "creating"}
-                                                                               
{LOYAL_UNIT 1 $|elf_pool[$|fate].type $|x1 $|y1 $|elf_pool[$|fate].id 
$|elf_pool[$|fate].name}
-                                                                       [/else]
-                                                               [/if]
+                                [if]
+                                    [variable]
+                                        name=flagset[$fate].flag
+                                        equals=set
+                                    [/variable]
+                                    [then]
+                                        {VARIABLE fate $|elf_pool_counter}
+                                    [/then]
+                                    [else]
+                                        {VARIABLE flagset[$|fate].flag set}
+                                        {LOYAL_UNIT 1 $|elf_pool[$|fate].type 
$|x1 $|y1 $|elf_pool[$|fate].id $|elf_pool[$|fate].name}
+                                    [/else]
+                                [/if]
                             [/do]
                         [/while]
 


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

Reply via email to