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/StarServer.cpp | |
parent | 72bb517271dad40a440533ad0796a88247011199 (diff) | |
download | starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.zip starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.tar.gz starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.tar.bz2 |
Removed MemDebug from FoundationEx
Diffstat (limited to 'Stars45/StarServer.cpp')
-rw-r--r-- | Stars45/StarServer.cpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/Stars45/StarServer.cpp b/Stars45/StarServer.cpp index c95b2cb..ceaa5ca 100644 --- a/Stars45/StarServer.cpp +++ b/Stars45/StarServer.cpp @@ -9,7 +9,6 @@ #include <iostream> -#include "MemDebug.h" #include "StarServer.h" #include "Campaign.h" @@ -190,7 +189,7 @@ StarServer::InitGame() ::Print("Admin Server Port: %d\n", server_config->GetAdminPort()); ::Print("-----------------------\n"); - NetLobbyServer* nls = new(__FILE__,__LINE__) NetLobbyServer; + NetLobbyServer* nls = new NetLobbyServer; NetAdminServer* nas = NetAdminServer::GetInstance(server_config->GetAdminPort()); nas->SetServerName(server_config->Name()); @@ -260,7 +259,7 @@ StarServer::CreateWorld() // create world if (!world) { - Sim* sim = new(__FILE__,__LINE__) Sim(0); + Sim* sim = new Sim(0); world = sim; Print(" World Created.\n"); } @@ -269,8 +268,6 @@ StarServer::CreateWorld() void StarServer::InstantiateMission() { - Memory::Check(); - current_mission = 0; if (Campaign::GetCampaign()) { @@ -295,8 +292,6 @@ StarServer::InstantiateMission() Print(" *** WARNING: StarServer::InstantiateMission() - no mission selected ***\n"); } } - - Memory::Check(); } // +--------------------------------------------------------------------+ @@ -386,8 +381,6 @@ StarServer::GameState() Sleep(10); } - - Memory::Check(); } // +--------------------------------------------------------------------+ |