| 1758 | } |
| 1759 | |
| 1760 | void CMainFrame::OnToolsWorldObjectsRobots() { |
| 1761 | CWorldObjectsGenericDialog dlg; |
| 1762 | |
| 1763 | dlg.m_type = OBJ_ROBOT; |
| 1764 | dlg.m_current = D3EditState.current_robot; |
| 1765 | |
| 1766 | theApp.pause(); |
| 1767 | dlg.DoModal(); |
| 1768 | theApp.resume(); |
| 1769 | |
| 1770 | if (dlg.m_current != -1) |
| 1771 | D3EditState.current_robot = dlg.m_current; |
| 1772 | } |
| 1773 | |
| 1774 | void CMainFrame::OnToolsWorldObjectsClutter() { |
| 1775 | CWorldObjectsGenericDialog dlg; |