diff --git a/server/gameserver/shot.cc b/server/gameserver/shot.cc index 23aaa584..9ad76b16 100644 --- a/server/gameserver/shot.cc +++ b/server/gameserver/shot.cc @@ -52,6 +52,7 @@ struct BulletInfo const mt::HeroShotAnimation* shot_animi = nullptr; int bullet_idx = 0; int bullet_num = 0; + std::shared_ptr> reporter_list; a8::XTimerWp keep_shot_animi_timer_ptr; }; @@ -265,7 +266,7 @@ static void InternalCreateBullet(BulletInfo& bullet_info) bullet_info.fly_distance, bullet_info.trace_target_uniid, bullet_info.hand); - if (bullet_uniid && bullet_info.trace_target_uniid) { + if (bullet_uniid && (bullet_info.trace_target_uniid || bullet_info.reporter_list)) { c->room->AddReportBullet( bullet_uniid );