| 1744 | } |
| 1745 | |
| 1746 | void CMainFrame::OnToolsWorldObjectsPowerups() { |
| 1747 | CWorldObjectsGenericDialog dlg; |
| 1748 | |
| 1749 | dlg.m_type = OBJ_POWERUP; |
| 1750 | dlg.m_current = D3EditState.current_powerup; |
| 1751 | |
| 1752 | theApp.pause(); |
| 1753 | dlg.DoModal(); |
| 1754 | theApp.resume(); |
| 1755 | |
| 1756 | if (dlg.m_current != -1) |
| 1757 | D3EditState.current_powerup = dlg.m_current; |
| 1758 | } |
| 1759 | |
| 1760 | void CMainFrame::OnToolsWorldObjectsRobots() { |
| 1761 | CWorldObjectsGenericDialog dlg; |