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/TacticalAI.cpp | |
parent | 72bb517271dad40a440533ad0796a88247011199 (diff) | |
download | starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.zip starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.tar.gz starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.tar.bz2 |
Removed MemDebug from FoundationEx
Diffstat (limited to 'Stars45/TacticalAI.cpp')
-rw-r--r-- | Stars45/TacticalAI.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Stars45/TacticalAI.cpp b/Stars45/TacticalAI.cpp index 82385f3..7f4e64d 100644 --- a/Stars45/TacticalAI.cpp +++ b/Stars45/TacticalAI.cpp @@ -11,7 +11,6 @@ Generic Ship Tactical Level AI class */ -#include "MemDebug.h" #include "TacticalAI.h" #include "ShipAI.h" #include "CarrierAI.h" @@ -52,7 +51,7 @@ directed_tgtid(0) if (ship && ship->GetHangar() && ship->GetCommandAILevel() > 0 && ship != sim->GetPlayerShip()) - carrier_ai = new(__FILE__,__LINE__) CarrierAI(ship, ship_ai->GetAILevel()); + carrier_ai = new CarrierAI(ship, ship_ai->GetAILevel()); } agression = 0; @@ -299,7 +298,7 @@ TacticalAI::ProcessOrders() double range = Point(controller->Location() - ship->Location()).length(); if (range < 50e3) { - msg = new(__FILE__,__LINE__) RadioMessage(controller, ship, RadioMessage::CALL_INBOUND); + msg = new RadioMessage(controller, ship, RadioMessage::CALL_INBOUND); RadioTraffic::Transmit(msg); } } |