diff options
author | Aki <please@ignore.pl> | 2022-03-27 17:42:26 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-03-27 17:42:26 +0200 |
commit | a12e588079700d55a0b788fea2df7727c2e41f52 (patch) | |
tree | 690072569624c73af5043b3619acaab4d298b1fa /Stars45/CarrierAI.cpp | |
parent | 72bb517271dad40a440533ad0796a88247011199 (diff) | |
download | starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.zip starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.tar.gz starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.tar.bz2 |
Removed MemDebug from FoundationEx
Diffstat (limited to 'Stars45/CarrierAI.cpp')
-rw-r--r-- | Stars45/CarrierAI.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Stars45/CarrierAI.cpp b/Stars45/CarrierAI.cpp index dc55dc5..92ac561 100644 --- a/Stars45/CarrierAI.cpp +++ b/Stars45/CarrierAI.cpp @@ -11,7 +11,6 @@ "Air Boss" AI class for managing carrier fighter squadrons */ -#include "MemDebug.h" #include "CarrierAI.h" #include "ShipAI.h" #include "Ship.h" @@ -47,7 +46,7 @@ CarrierAI::CarrierAI(Ship* s, int level) patrol_elem[i] = 0; if (ship) - flight_planner = new(__FILE__,__LINE__) FlightPlanner(ship); + flight_planner = new FlightPlanner(ship); hold_time = (int) Clock::GetInstance()->GameTime(); } @@ -313,7 +312,7 @@ CarrierAI::CreatePackage(int squadron, int size, int code, const char* target, c case Mission::DEFEND: i_code = Instruction::DEFEND; break; } - Instruction* objective = new(__FILE__,__LINE__) Instruction(i_code, target); + Instruction* objective = new Instruction(i_code, target); if (objective) elem->AddObjective(objective); } |