src/tree_gui.cpp
changeset 10707 81a4013a7680
parent 10641 13148f508e6d
child 10775 7061477bfbcf
--- a/src/tree_gui.cpp	Sun May 25 20:00:10 2008 +0000
+++ b/src/tree_gui.cpp	Sun May 25 22:36:44 2008 +0000
@@ -74,8 +74,8 @@
 
 		this->DrawWidgets();
 
-		int i = this->base = _tree_base_by_landscape[_opt.landscape];
-		int count = this->count = _tree_count_by_landscape[_opt.landscape];
+		int i = this->base = _tree_base_by_landscape[_settings.game_creation.landscape];
+		int count = this->count = _tree_count_by_landscape[_settings.game_creation.landscape];
 
 		int x = 18;
 		int y = 54;