diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-05-14 16:19:53 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-05-14 16:19:53 +0000 |
commit | 0125cb14a9a4f4ffced61ba50412f13fe00adbb4 (patch) | |
tree | 9820d60b3b37f627ab5fb94e9e7d7bc70432fb9c /src/main.cpp | |
parent | 87be1a8a52a5485d1cf90240cbf628004cbd5350 (diff) | |
download | manaserv-0125cb14a9a4f4ffced61ba50412f13fe00adbb4.tar.gz manaserv-0125cb14a9a4f4ffced61ba50412f13fe00adbb4.tar.bz2 manaserv-0125cb14a9a4f4ffced61ba50412f13fe00adbb4.tar.xz manaserv-0125cb14a9a4f4ffced61ba50412f13fe00adbb4.zip |
Applied another patch by Guillaume Melquiond which fixed a number of issues
with the message implementation (client side should also be checked).
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index a4114072..22ac6a2a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -387,7 +387,7 @@ int main(int argc, char *argv[]) elapsedWorldTicks = worldTimer.poll(); if (elapsedWorldTicks > 0) { worldTime += elapsedWorldTicks; - + if (elapsedWorldTicks > 1) { LOG_WARN(elapsedWorldTicks -1 <<" World Tick(s) skipped because of insufficient time. please buy a faster machine ;-)", 0); @@ -407,7 +407,7 @@ int main(int argc, char *argv[]) // other tasks sched_yield(); }; - + /*ENetEvent netEvent; while (enet_host_service(server, &netEvent, 3000) > 0) @@ -421,7 +421,7 @@ int main(int argc, char *argv[]) netEvent.peer->data = (void *)"Client information"; break; - + case ENET_EVENT_TYPE_RECEIVE: { printf("A packet of length %u containing %s was received from %s on channel %u.\n", |