From 0e19f74c16e9d663b6dd61f96828857c0e6a29da Mon Sep 17 00:00:00 2001 From: truelight Date: Sun, 19 Dec 2004 10:17:26 +0000 Subject: (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. --- console_cmds.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'console_cmds.c') 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) { -- cgit v1.2.3-54-g00ecf