summaryrefslogtreecommitdiffhomepage
path: root/Stars45/MsnElemDlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/MsnElemDlg.cpp')
-rw-r--r--Stars45/MsnElemDlg.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/Stars45/MsnElemDlg.cpp b/Stars45/MsnElemDlg.cpp
index e6f4eea..780bc72 100644
--- a/Stars45/MsnElemDlg.cpp
+++ b/Stars45/MsnElemDlg.cpp
@@ -11,7 +11,6 @@
Mod Config Dialog Active Window class
*/
-#include "MemDebug.h"
#include "MsnElemDlg.h"
#include "MsnEditDlg.h"
#include "MenuScreen.h"
@@ -746,7 +745,7 @@ MsnElemDlg::OnAccept(AWEvent* event)
const char* loadname = cmb_loadout->GetSelectedItem();
if (loadname && *loadname) {
- MissionLoad* mload = new(__FILE__,__LINE__) MissionLoad(-1, cmb_loadout->GetSelectedItem());
+ MissionLoad* mload = new MissionLoad(-1, cmb_loadout->GetSelectedItem());
elem->Loadouts().append(mload);
}
}
@@ -759,7 +758,7 @@ MsnElemDlg::OnAccept(AWEvent* event)
const char* target = cmb_target->GetSelectedItem();
if (action >= Instruction::VECTOR) {
- Instruction* obj = new(__FILE__,__LINE__) Instruction(action, target);
+ Instruction* obj = new Instruction(action, target);
objectives.append(obj);
}
}