diff options
author | terkhen <terkhen@openttd.org> | 2010-07-29 14:26:28 +0000 |
---|---|---|
committer | terkhen <terkhen@openttd.org> | 2010-07-29 14:26:28 +0000 |
commit | 88ca183191d781effd96add853e40d37ce3a0233 (patch) | |
tree | 9820f95a2ea7ef95bf8c05fbd3c12ecccceb42f8 /src/network/core | |
parent | 04242e19cf29aedca783f4657e2c448d40f37420 (diff) | |
download | openttd-88ca183191d781effd96add853e40d37ce3a0233.tar.xz |
(svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH).
Diffstat (limited to 'src/network/core')
-rw-r--r-- | src/network/core/udp.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/network/core/udp.cpp b/src/network/core/udp.cpp index 9be5636db..679bfa313 100644 --- a/src/network/core/udp.cpp +++ b/src/network/core/udp.cpp @@ -246,16 +246,16 @@ void NetworkUDPSocketHandler::Recv_NetworkGameInfo(Packet *p, NetworkGameInfo *i *dst = c; dst = &c->next; } - } // Fallthrough + } // FALL THROUGH case 3: info->game_date = Clamp(p->Recv_uint32(), 0, MAX_DATE); info->start_date = Clamp(p->Recv_uint32(), 0, MAX_DATE); - /* Fallthrough */ + /* FALL THROUGH */ case 2: info->companies_max = p->Recv_uint8 (); info->companies_on = p->Recv_uint8 (); info->spectators_max = p->Recv_uint8 (); - /* Fallthrough */ + /* FALL THROUGH */ case 1: p->Recv_string(info->server_name, sizeof(info->server_name)); p->Recv_string(info->server_revision, sizeof(info->server_revision)); |