UCS support decided to not rewrite it for now. Maybe later now that it's easier to work with

This commit is contained in:
KimLS
2017-01-06 00:21:59 -08:00
parent bf563e9c6a
commit 08e72bbbdd
6 changed files with 117 additions and 180 deletions
-11
View File
@@ -54,9 +54,6 @@ volatile bool RunLoops = true;
void CatchSignal(int sig_num) {
RunLoops = false;
if(worldserver)
worldserver->Disconnect();
}
std::string GetMailPrefix() {
@@ -143,8 +140,6 @@ int main() {
worldserver = new WorldServer;
worldserver->Connect();
while(RunLoops) {
Timer::SetCurrentTime();
@@ -154,12 +149,6 @@ int main() {
if(ChannelListProcessTimer.Check())
ChannelList->Process();
if (InterserverTimer.Check()) {
if (worldserver->TryReconnect() && (!worldserver->Connected()))
worldserver->AsyncConnect();
}
worldserver->Process();
EQ::EventLoop::Get().Process();
Sleep(1);