diff options
author | rubidium <rubidium@openttd.org> | 2010-05-13 09:04:41 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-05-13 09:04:41 +0000 |
commit | 2555522eabd5cb16c480aab755f5d3dd580ddae4 (patch) | |
tree | 4ae77c24b45658c66e26f09ab6c6df1bc2165945 /src/network/network_server.cpp | |
parent | 6fa962b867a4983d67bc8acd2c8a3ed5c7ce3dc3 (diff) | |
download | openttd-2555522eabd5cb16c480aab755f5d3dd580ddae4.tar.xz |
(svn r19809) -Codechange: make some unnamed network related enums/defines static const variables
Diffstat (limited to 'src/network/network_server.cpp')
-rw-r--r-- | src/network/network_server.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/network_server.cpp b/src/network/network_server.cpp index 93f5d06c3..6f1f3b4b5 100644 --- a/src/network/network_server.cpp +++ b/src/network/network_server.cpp @@ -1375,11 +1375,11 @@ void NetworkSocketHandler::Send_CompanyInformation(Packet *p, const Company *c, /* Send 1 if there is a passord for the company else send 0 */ p->Send_bool (!StrEmpty(_network_company_states[c->index].password)); - for (int i = 0; i < NETWORK_VEHICLE_TYPES; i++) { + for (uint i = 0; i < NETWORK_VEHICLE_TYPES; i++) { p->Send_uint16(stats->num_vehicle[i]); } - for (int i = 0; i < NETWORK_STATION_TYPES; i++) { + for (uint i = 0; i < NETWORK_STATION_TYPES; i++) { p->Send_uint16(stats->num_station[i]); } |