diff --git a/server/gameserver/human.cc b/server/gameserver/human.cc index 08d782c3..0144f9fc 100644 --- a/server/gameserver/human.cc +++ b/server/gameserver/human.cc @@ -3525,6 +3525,8 @@ void Human::OnBulletHit(Bullet* bullet) RemoveBuffByEffectId(kBET_PeaceMode); if (!dead && (bullet->IsBomb() || bullet->sender.Get()->team_id != team_id)) { +#ifdef ATTR +#else float old_hp = GetHP(); float old_max_hp = GetMaxHP(); float finaly_dmg = 0; @@ -3556,6 +3558,7 @@ void Human::OnBulletHit(Bullet* bullet) bullet->gun_meta->i->id()); } } +#endif } }