| 1772 | } |
| 1773 | |
| 1774 | void CMainFrame::OnToolsWorldObjectsClutter() { |
| 1775 | CWorldObjectsGenericDialog dlg; |
| 1776 | |
| 1777 | dlg.m_type = OBJ_CLUTTER; |
| 1778 | dlg.m_current = D3EditState.current_clutter; |
| 1779 | |
| 1780 | theApp.pause(); |
| 1781 | dlg.DoModal(); |
| 1782 | theApp.resume(); |
| 1783 | |
| 1784 | if (dlg.m_current != -1) |
| 1785 | D3EditState.current_clutter = dlg.m_current; |
| 1786 | } |
| 1787 | |
| 1788 | void CMainFrame::OnToolsWorldObjectsBuildings() { |
| 1789 | CWorldObjectsGenericDialog dlg; |