(svn r1204) -Add: [Network] Added some cheaters-protection (money-cheat mostly)

This commit is contained in:
truelight
2004-12-21 17:31:10 +00:00
parent 8ab0190c29
commit 19e3842615
4 changed files with 28 additions and 10 deletions

View File

@@ -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);