From a12e588079700d55a0b788fea2df7727c2e41f52 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 27 Mar 2022 17:42:26 +0200 Subject: Removed MemDebug from FoundationEx --- Stars45/NetData.cpp | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'Stars45/NetData.cpp') 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); -- cgit v1.1