summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2020-02-23 09:30:51 +0300
committerAndrei Karas <akaras@inbox.ru>2020-02-23 09:30:51 +0300
commit1e2a88e975019929c4c7e3154537865cc09550a6 (patch)
treeae8bc68ad3a3f6b61a5e2d511d7fc17daa22bd0e /src/net/ea
parent6941fd4eeb1dce20aba8c42fd030c2690c37b731 (diff)
downloadmv-1e2a88e975019929c4c7e3154537865cc09550a6.tar.gz
mv-1e2a88e975019929c4c7e3154537865cc09550a6.tar.bz2
mv-1e2a88e975019929c4c7e3154537865cc09550a6.tar.xz
mv-1e2a88e975019929c4c7e3154537865cc09550a6.zip
Fix some code style issues
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/charserverrecv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ea/charserverrecv.cpp b/src/net/ea/charserverrecv.cpp
index 5f91f23a7..0d4ed157a 100644
--- a/src/net/ea/charserverrecv.cpp
+++ b/src/net/ea/charserverrecv.cpp
@@ -119,9 +119,9 @@ void CharServerRecv::processCharCreateFailed(Net::MessageIn &msg)
void CharServerRecv::processCharDelete(Net::MessageIn &msg A_UNUSED)
{
BLOCK_START("CharServerRecv::processCharDelete")
- delete Net::CharServerHandler::mSelectedCharacter;
Net::CharServerHandler::mCharacters.remove(
Net::CharServerHandler::mSelectedCharacter);
+ delete Net::CharServerHandler::mSelectedCharacter;
Net::CharServerHandler::mSelectedCharacter = nullptr;
Net::CharServerHandler::updateCharSelectDialog();
Net::CharServerHandler::unlockCharSelectDialog();