From a12e588079700d55a0b788fea2df7727c2e41f52 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 27 Mar 2022 17:42:26 +0200 Subject: Removed MemDebug from FoundationEx --- Stars45/MsnElemDlg.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Stars45/MsnElemDlg.cpp') 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); } } -- cgit v1.1