src/tree_gui.cpp
changeset 9358 2e1e4d2f71dd
parent 9317 f14eb8815829
child 9413 7042a8ec3fa8
--- 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;