Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more tree placement options to non-scenario saves. #743

Open
wants to merge 10 commits into
base: jgrpp
Choose a base branch
from
Prev Previous commit
Next Next commit
Remove assert statements that cause crashes when using groves and for…
…ests in normal games
  • Loading branch information
tabytac committed Sep 6, 2024
commit 12c27218d89280fabab81551d0a46d06c700824a
6 changes: 6 additions & 0 deletions src/tree_gui.cpp
Original file line number Diff line number Diff line change
@@ -184,13 +184,19 @@ class BuildTreesWindow : public Window
break;

case WID_BT_MODE_FOREST_SM:
<<<<<<< HEAD
// assert(_game_mode == GM_EDITOR);
=======
>>>>>>> f75549bafb (Remove assert statements that cause crashes when using groves and forests in normal games)
this->mode = PM_FOREST_SM;
this->UpdateMode();
break;

case WID_BT_MODE_FOREST_LG:
<<<<<<< HEAD
// assert(_game_mode == GM_EDITOR);
=======
>>>>>>> f75549bafb (Remove assert statements that cause crashes when using groves and forests in normal games)
this->mode = PM_FOREST_LG;
this->UpdateMode();
break;