This commit is contained in:
aozhiwei 2019-03-28 17:57:25 +08:00
parent 008df13cd5
commit edefe4189e

View File

@ -135,6 +135,7 @@ void Player::Shot()
pos.ToPB(bullet->mutable_pos());
attack_dir.ToPB(bullet->mutable_dir());
bullet->set_bulletskin(10001);
bullet->set_gun_id(weapon_meta->i->id());
}
{
Bullet* bullet = new Bullet();