diff options
Diffstat (limited to 'Stars45/FltDlg.cpp')
-rw-r--r-- | Stars45/FltDlg.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Stars45/FltDlg.cpp b/Stars45/FltDlg.cpp index 44770b2..5c3fe1b 100644 --- a/Stars45/FltDlg.cpp +++ b/Stars45/FltDlg.cpp @@ -10,7 +10,6 @@ ======== */ -#include "MemDebug.h" #include "FltDlg.h" #include "GameScreen.h" #include "Sim.h" @@ -145,7 +144,7 @@ FltDlg::SetShip(Ship* s) filter_list->AddItem(ContentBundle::GetInstance()->GetText("FltDlg.ACTIVE")); } - flight_planner = new(__FILE__,__LINE__) FlightPlanner(ship); + flight_planner = new FlightPlanner(ship); } OnFilter(0); @@ -683,7 +682,7 @@ FltDlg::OnPackage(AWEvent* event) int index = objective_list->GetListIndex(); Text target = objective_list->GetItemText(index); - Instruction* objective = new(__FILE__,__LINE__) Instruction(code, target.data()); + Instruction* objective = new Instruction(code, target.data()); elem->AddObjective(objective); tgt = sim->FindElement(target.data()); @@ -928,7 +927,7 @@ FltDlg::OnRecall(AWEvent* event) Ship* recall = hangar->GetShip(slot); if (recall) { - RadioMessage* msg = new(__FILE__,__LINE__) RadioMessage(recall, ship, RadioMessage::RTB); + RadioMessage* msg = new RadioMessage(recall, ship, RadioMessage::RTB); RadioTraffic::Transmit(msg); } } |