diff options
author | rubidium <rubidium@openttd.org> | 2008-09-30 20:39:50 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-09-30 20:39:50 +0000 |
commit | 3b798599b63067c2e92aa49906ea66a07ae8de44 (patch) | |
tree | 69fb7ae1d9bdadb9e7386cb70b0a26621ad9b57f /src/network/core/tcp.h | |
parent | cc1e761edab14f8264dba44d09f7272d931bdd93 (diff) | |
download | openttd-3b798599b63067c2e92aa49906ea66a07ae8de44.tar.xz |
(svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.
Diffstat (limited to 'src/network/core/tcp.h')
-rw-r--r-- | src/network/core/tcp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/core/tcp.h b/src/network/core/tcp.h index 16a795e28..6af0d17f8 100644 --- a/src/network/core/tcp.h +++ b/src/network/core/tcp.h @@ -61,7 +61,7 @@ enum { /** Packet that wraps a command */ struct CommandPacket { CommandPacket *next; ///< the next command packet (if in queue) - PlayerByte player; ///< player that is executing the command + CompanyByte company; ///< company that is executing the command uint32 cmd; ///< command being executed uint32 p1; ///< parameter p1 uint32 p2; ///< parameter p2 @@ -81,7 +81,7 @@ enum ClientStatus { STATUS_MAP, ///< The client is downloading the map STATUS_DONE_MAP, ///< The client has downloaded the map STATUS_PRE_ACTIVE, ///< The client is catching up the delayed frames - STATUS_ACTIVE, ///< The client is an active player in the game + STATUS_ACTIVE, ///< The client is active within in the game }; /** Base socket handler for all TCP sockets */ |