From 8c300f328a044287f2b56c31601fe3318dab354a Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 12 Jul 2021 03:33:11 +0000 Subject: [PATCH] 1 --- server/gameserver/human.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/server/gameserver/human.cc b/server/gameserver/human.cc index c6f0f3b..e682b62 100644 --- a/server/gameserver/human.cc +++ b/server/gameserver/human.cc @@ -3533,11 +3533,6 @@ void Human::OnBulletHit(Bullet* bullet) finaly_dmg = std::max(finaly_dmg, 0.0f); #if 0 sender->stats.damage_amount_out += finaly_dmg; -#endif -#ifdef DEBUG - if (App::Instance()->HasFlag(1) && IsPlayer()) { - return; - } #endif if (bullet->meta->buff_meta) { MustBeAddBuff(this, bullet->meta->i->buffid());