From 972bbd781838c9150f87aad7c96c6bbd74a68e06 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 22 Feb 2013 00:38:26 +0300 Subject: Fix change password issue with empty players list. --- src/net/eathena/charserverhandler.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/net/eathena') diff --git a/src/net/eathena/charserverhandler.cpp b/src/net/eathena/charserverhandler.cpp index 2bb7e8890..474874483 100644 --- a/src/net/eathena/charserverhandler.cpp +++ b/src/net/eathena/charserverhandler.cpp @@ -127,8 +127,7 @@ void CharServerHandler::handleMessage(Net::MessageIn &msg) mSelectedCharacter->dummy = nullptr; - delete_all(mCharacters); - mCharacters.clear(); + Net::getCharHandler()->clear(); updateCharSelectDialog(); if (mNetwork) -- cgit v1.2.3-70-g09d2