Author: cazfi
Date: Mon Feb 22 12:41:17 2016
New Revision: 32024

URL: http://svn.gna.org/viewcvs/freeciv?rev=32024&view=rev
Log:
Fixed placement of the "Highest Peak" map label on supplied rulesets.

Report and initial patch by taka <taka>

See bug #24436

Modified:
    branches/S2_5/data/civ2civ3/script.lua
    branches/S2_5/data/classic/script.lua

Modified: branches/S2_5/data/civ2civ3/script.lua
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/data/civ2civ3/script.lua?rev=32024&r1=32023&r2=32024&view=diff
==============================================================================
--- branches/S2_5/data/civ2civ3/script.lua      (original)
+++ branches/S2_5/data/civ2civ3/script.lua      Mon Feb 22 12:41:17 2016
@@ -46,7 +46,7 @@
 
   -- Decide if a label should be included and, in case it should, where.
   if random(1, 100) <= 75 then
-    selected_mountains = random(1, mountains)
+    selected_mountain = random(1, mountains)
   end
   if random(1, 100) <= 75 then
     selected_ocean = random(1, deep_oceans)

Modified: branches/S2_5/data/classic/script.lua
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/data/classic/script.lua?rev=32024&r1=32023&r2=32024&view=diff
==============================================================================
--- branches/S2_5/data/classic/script.lua       (original)
+++ branches/S2_5/data/classic/script.lua       Mon Feb 22 12:41:17 2016
@@ -46,7 +46,7 @@
 
   -- Decide if a label should be included and, in case it should, where.
   if random(1, 100) <= 75 then
-    selected_mountains = random(1, mountains)
+    selected_mountain = random(1, mountains)
   end
   if random(1, 100) <= 75 then
     selected_ocean = random(1, deep_oceans)


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to