summaryrefslogtreecommitdiff
path: root/network.h
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2004-12-15 21:13:52 +0000
committertruelight <truelight@openttd.org>2004-12-15 21:13:52 +0000
commit2f6a26ab2d8b8781dc78063f54e0102e5191c63a (patch)
tree7dad5cae0e7fb3089a2b3e52a45d1b9e3a90e1f0 /network.h
parent093540e9b5d5f0d271c218c0ea9b70fd1f7de7b4 (diff)
downloadopenttd-2f6a26ab2d8b8781dc78063f54e0102e5191c63a.tar.xz
(svn r1108) -Fix: [Network] Fixed problem around slow clients:
They joined, they got the map, but it took some time before the new player was created. In this time a player could do stuff, causing a player-id-mismatch, and the player was kicked out. Now a player get's a nice GUI which says: registering.. When that is gone, the player is joined and can play safely. Tnx to Moriarty for bugging me with this bug ;)
Diffstat (limited to 'network.h')
-rw-r--r--network.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/network.h b/network.h
index ae7135498..086b42a8a 100644
--- a/network.h
+++ b/network.h
@@ -109,6 +109,7 @@ typedef enum {
NETWORK_JOIN_STATUS_WAITING,
NETWORK_JOIN_STATUS_DOWNLOADING,
NETWORK_JOIN_STATUS_PROCESSING,
+ NETWORK_JOIN_STATUS_REGISTERING,
NETWORK_JOIN_STATUS_GETTING_COMPANY_INFO,
} NetworkJoinStatus;