diff --git a/server/gameserver/buff/callfunc.cc b/server/gameserver/buff/callfunc.cc index 1ff8a587..0babbb1c 100644 --- a/server/gameserver/buff/callfunc.cc +++ b/server/gameserver/buff/callfunc.cc @@ -1001,8 +1001,6 @@ void CallFuncBuff::RangeHoldBuff() if (context->in_human_infos.find(hum->GetUniId()) != context->in_human_infos.end()) { abort(); } - //context->in_human_infos[hum->GetUniId()] = o; - //context->in_human_infos[hum->GetUniId()].OnEnter(); }; auto on_stay = [this, context] (Human* hum) @@ -1024,10 +1022,6 @@ void CallFuncBuff::RangeHoldBuff() [this, context, on_enter, on_stay, on_leave] () { - if (owner->HasBuffEffect(kBET_Fly) || - owner->HasBuffEffect(kBET_Jump)) { - return; - } if (!owner->dead) { };