From 9d7f2af1a7a1c107b4753d2ba14b6bd2daaa0eab Mon Sep 17 00:00:00 2001 From: Sit Melai Date: Fri, 23 Oct 2020 15:33:33 +0200 Subject: [PATCH] Fixed not correctly removing Group Containers when removing people (causing crash at char change) --- code/ryzom/client/src/interface_v3/people_list.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/ryzom/client/src/interface_v3/people_list.cpp b/code/ryzom/client/src/interface_v3/people_list.cpp index c3f2cf4d7..8728c0e77 100644 --- a/code/ryzom/client/src/interface_v3/people_list.cpp +++ b/code/ryzom/client/src/interface_v3/people_list.cpp @@ -804,7 +804,12 @@ void CPeopleList::removeAllPeoples() { _BaseContainer->removeAllContainers(); } + for (uint k = 0; k < _GroupContainers.size(); ++k) + { + _GroupContainers[k].second->removeAllContainers(); + } NLMISC::contReset(_Peoples); + NLMISC::contReset(_GroupContainers); } //==================================================================