From c24120cfafc1773f6d8b36c3477ae9765ae89788 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 14 Mar 2023 20:14:15 +0800 Subject: [PATCH] 1 --- server/gameserver/buff/callfunc.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/gameserver/buff/callfunc.cc b/server/gameserver/buff/callfunc.cc index ddd4e75e..a6c1c78f 100644 --- a/server/gameserver/buff/callfunc.cc +++ b/server/gameserver/buff/callfunc.cc @@ -318,7 +318,6 @@ void CallFuncBuff::ProcLightCircle() void OnLeave() { - } }; @@ -365,7 +364,7 @@ void CallFuncBuff::ProcLightCircle() if (itr == context->in_human_infos.end()) { abort(); } - for (int buff_uniid : itr->buff_uniids) { + for (int buff_uniid : itr->second.buff_uniids) { hum->RemoveBuffByUniId(buff_uniid); } itr->second.OnLeave();