summaryrefslogtreecommitdiffhomepage
path: root/Stars45/NetLobby.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/NetLobby.cpp')
-rw-r--r--Stars45/NetLobby.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/Stars45/NetLobby.cpp b/Stars45/NetLobby.cpp
index 7effc09..81eecae 100644
--- a/Stars45/NetLobby.cpp
+++ b/Stars45/NetLobby.cpp
@@ -11,7 +11,6 @@
Base Class for Multiplayer Game Lobby classes
*/
-#include "MemDebug.h"
#include "NetLobby.h"
#include "NetLobbyClient.h"
#include "NetLobbyServer.h"
@@ -118,7 +117,7 @@ NetLobby::Recv()
text = buffer;
}
else if (msg->Length() < 1024 * 1024) {
- text = new(__FILE__,__LINE__) char[msg->Length()];
+ text = new char[msg->Length()];
ZeroMemory(text, msg->Length());
CopyMemory(text, msg->Data()+2, msg->Length()-2);
}
@@ -375,7 +374,7 @@ NetLobby::ParseMsg(Text msg, List<NetLobbyParam>& params)
val = val.substring(1, val.length()-2);
}
- NetLobbyParam* param = new(__FILE__,__LINE__) NetLobbyParam(name.symbol(), val);
+ NetLobbyParam* param = new NetLobbyParam(name.symbol(), val);
params.append(param);
name = lexer.Get();
@@ -402,7 +401,7 @@ void
NetLobby::AddChat(NetUser* user, const char* msg, bool route)
{
if (user && msg && *msg)
- chat_log.append(new(__FILE__,__LINE__) NetChatEntry(user, msg));
+ chat_log.append(new NetChatEntry(user, msg));
}
List<NetChatEntry>&
@@ -431,7 +430,7 @@ void
NetLobby::AddUnitMap(MissionElement* elem, int index)
{
if (elem)
- unit_map.append(new(__FILE__,__LINE__) NetUnitEntry(elem, index));
+ unit_map.append(new NetUnitEntry(elem, index));
}
List<NetUnitEntry>&