Description:
Fix Forest Policy sliders.
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
@@ -43,13 +43,13 | |||
|
43 | 43 | int new_tree_planting = sim.tree_planting; |
|
44 | 44 | ImGui.Text("Tree Planting: "); |
|
45 | 45 | ImGui.SameLine(); |
|
46 | ImGui.SliderInt("", ref new_tree_planting, 0, Simulation.MAX_TREES_TO_PLANT, string.Format("%d (${0})", new_tree_planting*Simulation.TREE_PLANT_COST)); | |
|
46 | ImGui.SliderInt("##tree_planting", ref new_tree_planting, 0, Simulation.MAX_TREES_TO_PLANT, string.Format("%d (${0})", new_tree_planting*Simulation.TREE_PLANT_COST)); | |
|
47 | 47 | sim.tree_planting = new_tree_planting; |
|
48 | 48 | |
|
49 | 49 | int new_tree_clearing = sim.tree_clearing; |
|
50 | 50 | ImGui.Text("Tree Clearing: "); |
|
51 | 51 | ImGui.SameLine(); |
|
52 | ImGui.SliderInt("", ref new_tree_clearing, 0, Simulation.MAX_TREES_TO_CLEAR, string.Format("%d (${0})", new_tree_clearing*Simulation.TREE_CLEAR_COST)); | |
|
52 | ImGui.SliderInt("##tree_clearing", ref new_tree_clearing, 0, Simulation.MAX_TREES_TO_CLEAR, string.Format("%d (${0})", new_tree_clearing*Simulation.TREE_CLEAR_COST)); | |
|
53 | 53 | sim.tree_clearing = new_tree_clearing; |
|
54 | 54 | |
|
55 | 55 | ImGui.Text("Tresspassing policy:"); |
You need to be logged in to leave comments.
Login now