summaryrefslogtreecommitdiffhomepage
path: root/Stars45/NetData.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/NetData.cpp')
-rw-r--r--Stars45/NetData.cpp13
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);