diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-03-08 06:07:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-03-08 06:07:15 +0300 |
commit | fc1ca42ed5a1b2d83a1dc8f94709a057b8e28e9d (patch) | |
tree | f7f8af4849bc214a27ea8205410568b76ce5ec30 /src/net/eathena/charserverrecv.cpp | |
parent | 6b3b81988ea37207eeeb2994761e307c6b6fb340 (diff) | |
download | manaplus-fc1ca42ed5a1b2d83a1dc8f94709a057b8e28e9d.tar.gz manaplus-fc1ca42ed5a1b2d83a1dc8f94709a057b8e28e9d.tar.bz2 manaplus-fc1ca42ed5a1b2d83a1dc8f94709a057b8e28e9d.tar.xz manaplus-fc1ca42ed5a1b2d83a1dc8f94709a057b8e28e9d.zip |
Add support for change pin code by server request.
Diffstat (limited to 'src/net/eathena/charserverrecv.cpp')
-rw-r--r-- | src/net/eathena/charserverrecv.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/eathena/charserverrecv.cpp b/src/net/eathena/charserverrecv.cpp index 6d5fd63ca..ece603ac2 100644 --- a/src/net/eathena/charserverrecv.cpp +++ b/src/net/eathena/charserverrecv.cpp @@ -370,7 +370,7 @@ void CharServerRecv::processPincodeStatus(Net::MessageIn &msg) case 8: // pincode was incorrect case 5: // client show error? pincodeManager.wrongPin(); - break; + return; case 6: // Unable to use your KSSN number break; case 7: // char select window shows a button @@ -379,6 +379,8 @@ void CharServerRecv::processPincodeStatus(Net::MessageIn &msg) UNIMPLEMENTEDPACKET; break; } + if (client) + client->updatePinState(); } void CharServerRecv::processCharCreate(Net::MessageIn &msg) |