1
This commit is contained in:
parent
0ecdf81690
commit
393d63f293
@ -52,6 +52,7 @@ struct BulletInfo
|
||||
const mt::HeroShotAnimation* shot_animi = nullptr;
|
||||
int bullet_idx = 0;
|
||||
int bullet_num = 0;
|
||||
std::shared_ptr<std::set<int>> 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
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user