mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Remove accidental code
This commit is contained in:
parent
5b419914fa
commit
d3f04a9470
|
@ -4963,17 +4963,6 @@ int CEditor::PopupMenuFile(CEditor *pEditor, CUIRect View)
|
|||
pEditor->InvokeFileDialog(IStorage::TYPE_ALL, FILETYPE_MAP, "Load map", "Load", "maps", "", pEditor->CallbackOpenMap, pEditor);
|
||||
return 1;
|
||||
}
|
||||
if(pEditor->DoButton_MenuItem(&s_OpenButton, "Load Current Map", 0, &Slot, 0, "Opens the current map for editing"))
|
||||
{
|
||||
if(pEditor->HasUnsavedData())
|
||||
{
|
||||
pEditor->m_PopupEventType = POPEVENT_LOAD;
|
||||
pEditor->m_PopupEventActivated = true;
|
||||
}
|
||||
else
|
||||
pEditor->InvokeFileDialog(IStorage::TYPE_ALL, FILETYPE_MAP, "Load map", "Load", "maps", "", pEditor->CallbackOpenMap, pEditor);
|
||||
return 1;
|
||||
}
|
||||
|
||||
View.HSplitTop(10.0f, &Slot, &View);
|
||||
View.HSplitTop(12.0f, &Slot, &View);
|
||||
|
|
Loading…
Reference in a new issue