summaryrefslogtreecommitdiffhomepage
path: root/Stars45/MsnEditDlg.cpp
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-03-27 17:42:26 +0200
committerAki <please@ignore.pl>2022-03-27 17:42:26 +0200
commita12e588079700d55a0b788fea2df7727c2e41f52 (patch)
tree690072569624c73af5043b3619acaab4d298b1fa /Stars45/MsnEditDlg.cpp
parent72bb517271dad40a440533ad0796a88247011199 (diff)
downloadstarshatter-a12e588079700d55a0b788fea2df7727c2e41f52.zip
starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.tar.gz
starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.tar.bz2
Removed MemDebug from FoundationEx
Diffstat (limited to 'Stars45/MsnEditDlg.cpp')
-rw-r--r--Stars45/MsnEditDlg.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/Stars45/MsnEditDlg.cpp b/Stars45/MsnEditDlg.cpp
index 838ac59..13f5cf7 100644
--- a/Stars45/MsnEditDlg.cpp
+++ b/Stars45/MsnEditDlg.cpp
@@ -11,7 +11,6 @@
Mission Editor Dialog Active Window class
*/
-#include "MemDebug.h"
#include "MsnEditDlg.h"
#include "MsnElemDlg.h"
#include "MsnEventDlg.h"
@@ -692,7 +691,7 @@ MsnEditDlg::OnElemAdd(AWEvent* event)
{
if (lst_elem && mission) {
List<MissionElement>& elements = mission->GetElements();
- MissionElement* elem = new(__FILE__,__LINE__) MissionElement;
+ MissionElement* elem = new MissionElement;
if (elements.size() > 0)
elem->SetLocation(RandomPoint());
@@ -820,7 +819,7 @@ MsnEditDlg::OnEventAdd(AWEvent* event)
{
if (lst_event && mission) {
List<MissionEvent>& events = mission->GetEvents();
- MissionEvent* event = new(__FILE__,__LINE__) MissionEvent;
+ MissionEvent* event = new MissionEvent;
int id = 1;
for (int i = 0; i < events.size(); i++) {