1
This commit is contained in:
parent
81ac9f5d78
commit
9ac5f89cfe
@ -85,11 +85,6 @@ void FrameEvent::AddBullet(int bullet_uniid,
|
||||
int trace_target_id,
|
||||
int hand)
|
||||
{
|
||||
#if DEBUG
|
||||
if (sender.Get()->IsPlayer()) {
|
||||
|
||||
}
|
||||
#endif
|
||||
{
|
||||
auto& tuple = a8::FastAppend(bullets_);
|
||||
std::get<0>(tuple) = sender;
|
||||
@ -100,9 +95,6 @@ void FrameEvent::AddBullet(int bullet_uniid,
|
||||
p.set_bullet_id(weapon_meta->i->use_bullet());
|
||||
TypeConvert::ToPb(born_pos, p.mutable_pos());
|
||||
TypeConvert::ToPb(dir, p.mutable_dir());
|
||||
#if 0
|
||||
p.set_bulletskin(10001);
|
||||
#endif
|
||||
p.set_gun_id(weapon_meta->i->id());
|
||||
p.set_gun_lv(weapon_lv);
|
||||
p.set_fly_distance(fly_distance);
|
||||
|
Loading…
x
Reference in New Issue
Block a user