diff options
author | truelight <truelight@openttd.org> | 2005-01-01 16:34:54 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2005-01-01 16:34:54 +0000 |
commit | a0716c39de1c7f047868f5dae91291d5808c6c5f (patch) | |
tree | cb39462c3f797cec8b9246d6b990d23ddacfcf1b /network_server.h | |
parent | 461ca703ff51900a07ff5d6afb34b3ded8fc76fc (diff) | |
download | openttd-a0716c39de1c7f047868f5dae91291d5808c6c5f.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.h | 2 |
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); |