summaryrefslogtreecommitdiff
path: root/console_cmds.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2004-12-19 10:17:26 +0000
committertruelight <truelight@openttd.org>2004-12-19 10:17:26 +0000
commit0e19f74c16e9d663b6dd61f96828857c0e6a29da (patch)
treeaf44976063392f71dcb2b8e4d2311d79578d0684 /console_cmds.c
parentbb5dca016ddbd7d21373c052cefa96f894e1e2fc (diff)
downloadopenttd-0e19f74c16e9d663b6dd61f96828857c0e6a29da.tar.xz
(svn r1168) -Cleanup: [Network] Cleaned the network code a bit. Added 'const'
and 'void' where needed, prefixed all functions, typedefs and global vars with 'Network' and organized all externals nicely.
Diffstat (limited to 'console_cmds.c')
-rw-r--r--console_cmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/console_cmds.c b/console_cmds.c
index 7299505d4..a3118ada6 100644
--- a/console_cmds.c
+++ b/console_cmds.c
@@ -147,7 +147,7 @@ DEF_CONSOLE_CMD(ConStatus)
{
const char *status;
int lag;
- const ClientState *cs;
+ const NetworkClientState *cs;
const NetworkClientInfo *ci;
FOR_ALL_CLIENTS(cs) {
lag = NetworkCalculateLag(cs);
@@ -217,7 +217,7 @@ DEF_CONSOLE_CMD(ConKick)
DEF_CONSOLE_CMD(ConResetCompany)
{
Player *p;
- ClientState *cs;
+ NetworkClientState *cs;
NetworkClientInfo *ci;
if (argc == 2) {