GunChleoc has proposed merging lp:~widelands-dev/widelands/bug-1378801 into 
lp:widelands.

Requested reviews:
  Widelands Developers (widelands-dev)
Related bugs:
  Bug #1378801 in widelands: "Random map: Wasteland % change not reflected in 
Mountains %"
  https://bugs.launchpad.net/widelands/+bug/1378801

For more details, see:
https://code.launchpad.net/~widelands-dev/widelands/bug-1378801/+merge/237599

Fixed bug with mountains value in editor random map menu
-- 
https://code.launchpad.net/~widelands-dev/widelands/bug-1378801/+merge/237599
Your team Widelands Developers is requested to review the proposed merge of 
lp:~widelands-dev/widelands/bug-1378801 into lp:widelands.
=== modified file 'src/editor/ui_menus/editor_main_menu_random_map.cc'
--- src/editor/ui_menus/editor_main_menu_random_map.cc	2014-09-29 19:25:24 +0000
+++ src/editor/ui_menus/editor_main_menu_random_map.cc	2014-10-08 14:07:30 +0000
@@ -442,7 +442,7 @@
 	m_wasteland->set_text(buffer);
 	snprintf
 		(buffer, sizeof(buffer), _("Mountains: %u %%"),
-		 100 - m_waterval - m_landval);
+		 100 - m_waterval - m_landval - m_wastelandval);
 	m_mountains->set_text(buffer);
 	snprintf(buffer, sizeof(buffer), _("Players: %u"), m_pn);
 	m_players->set_text(buffer);

_______________________________________________
Mailing list: https://launchpad.net/~widelands-dev
Post to     : widelands-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~widelands-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to