summaryrefslogtreecommitdiff
path: root/network_server.h
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2005-01-01 16:34:54 +0000
committertruelight <truelight@openttd.org>2005-01-01 16:34:54 +0000
commitaacd9f7b0a81eae49b1c1093c387e089747117db (patch)
treecb39462c3f797cec8b9246d6b990d23ddacfcf1b /network_server.h
parent5656666481a0b8d48e421a775e0919bc56f5b515 (diff)
downloadopenttd-aacd9f7b0a81eae49b1c1093c387e089747117db.tar.xz
(svn r1320) -Fix: fixed chat-bug (that from a certain moment, nobody could talk).. 1
variable was still byte instead of uint16 (with a very big tnx to guru3!)
Diffstat (limited to 'network_server.h')
-rw-r--r--network_server.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/network_server.h b/network_server.h
index c2ea3dba3..976f85784 100644
--- a/network_server.h
+++ b/network_server.h
@@ -10,7 +10,7 @@ DEF_SERVER_SEND_COMMAND(PACKET_SERVER_SHUTDOWN);
DEF_SERVER_SEND_COMMAND(PACKET_SERVER_NEWGAME);
bool NetworkFindName(char new_name[NETWORK_NAME_LENGTH]);
-void NetworkServer_HandleChat(NetworkAction action, DestType desttype, int dest, const char *msg, byte from_index);
+void NetworkServer_HandleChat(NetworkAction action, DestType desttype, int dest, const char *msg, uint16 from_index);
bool NetworkServer_ReadPackets(NetworkClientState *cs);
void NetworkServer_Tick(void);