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/NetData.cpp | |
parent | 72bb517271dad40a440533ad0796a88247011199 (diff) | |
download | starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.zip starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.tar.gz starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.tar.bz2 |
Removed MemDebug from FoundationEx
Diffstat (limited to 'Stars45/NetData.cpp')
-rw-r--r-- | Stars45/NetData.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/Stars45/NetData.cpp b/Stars45/NetData.cpp index 54c6376..4d625b9 100644 --- a/Stars45/NetData.cpp +++ b/Stars45/NetData.cpp @@ -11,7 +11,6 @@ Payload structures for multiplayer network packets */ -#include "MemDebug.h" #include "NetData.h" #include "NetLink.h" #include "NetMsg.h" @@ -869,7 +868,7 @@ NetCommMsg::~NetCommMsg() void NetCommMsg::SetRadioMessage(RadioMessage* m) { - radio_message = new(__FILE__,__LINE__) RadioMessage(*m); + radio_message = new RadioMessage(*m); } BYTE* @@ -967,9 +966,9 @@ NetCommMsg::Unpack(const BYTE* p) delete radio_message; if (elem) - radio_message = new(__FILE__,__LINE__) RadioMessage(elem, src, action); + radio_message = new RadioMessage(elem, src, action); else - radio_message = new(__FILE__,__LINE__) RadioMessage(dst, src, action); + radio_message = new RadioMessage(dst, src, action); radio_message->SetChannel(channel); radio_message->SetLocation(loc); @@ -1237,7 +1236,7 @@ NetNavData::SetNavPoint(Instruction* n) } if (n) - navpoint = new(__FILE__,__LINE__) Instruction(*n); + navpoint = new Instruction(*n); } BYTE* @@ -1345,9 +1344,9 @@ NetNavData::Unpack(const BYTE* p) rgn = sim->FindRegion(rgn_name); if (rgn) - navpoint = new(__FILE__,__LINE__) Instruction(rgn, loc, action); + navpoint = new Instruction(rgn, loc, action); else - navpoint = new(__FILE__,__LINE__) Instruction(rgn_name, loc, action); + navpoint = new Instruction(rgn_name, loc, action); navpoint->SetFormation(formation); navpoint->SetStatus(status); |