summaryrefslogtreecommitdiff
path: root/src/network/core/tcp.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-09-30 20:39:50 +0000
committerrubidium <rubidium@openttd.org>2008-09-30 20:39:50 +0000
commitf56e630e5cb839b307f04bf52465c4db4d1ad904 (patch)
tree69fb7ae1d9bdadb9e7386cb70b0a26621ad9b57f /src/network/core/tcp.h
parentdba193d4a54707a19d8f3c2f42a1ac10ff544c5c (diff)
downloadopenttd-f56e630e5cb839b307f04bf52465c4db4d1ad904.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.h4
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 */