diff options
author | truelight <truelight@openttd.org> | 2004-12-21 17:31:10 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2004-12-21 17:31:10 +0000 |
commit | 6b047f7b14afb7c2cb8f781104af9c3559eca0ba (patch) | |
tree | 3ac5effcddc64108d8ab997ed95c5f2a2f7d1bab /network_client.c | |
parent | 01839321ea65c3854e6b89cbf80df0f77cd6b9e0 (diff) | |
download | openttd-6b047f7b14afb7c2cb8f781104af9c3559eca0ba.tar.xz |
(svn r1204) -Add: [Network] Added some cheaters-protection (money-cheat mostly)
Diffstat (limited to 'network_client.c')
-rw-r--r-- | network_client.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/network_client.c b/network_client.c index e5a4d600d..49e9a215f 100644 --- a/network_client.c +++ b/network_client.c @@ -377,6 +377,8 @@ DEF_CLIENT_RECEIVE_COMMAND(PACKET_SERVER_ERROR) _switch_mode_errorstr = STR_NETWORK_ERR_WRONG_PASSWORD; } else if (error == NETWORK_ERROR_KICKED) { _switch_mode_errorstr = STR_NETWORK_ERR_KICKED; + } else if (error == NETWORK_ERROR_CHEATER) { + _switch_mode_errorstr = STR_NETWORK_ERR_CHEATER; } DeleteWindowById(WC_NETWORK_STATUS_WINDOW, 0); |