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();