1
This commit is contained in:
parent
51677255fa
commit
ebf1e123e9
@ -1193,7 +1193,7 @@ void Creature::Shot(a8::Vec2& target_dir, bool& shot_ok, float fly_distance)
|
||||
(weapon_meta->i->id());
|
||||
MetaData::Equip* bullet_meta = MetaMgr::Instance()->GetEquip(weapon_meta->i->use_bullet());;
|
||||
|
||||
if (weapon_upgrade_meta && bullet_meta) {
|
||||
if (bullet_meta) {
|
||||
InternalShot(this,
|
||||
weapon_meta,
|
||||
weapon_upgrade_meta,
|
||||
|
@ -114,10 +114,10 @@ void Player::InternalUpdate(int delta_time)
|
||||
if (get_on) {
|
||||
UpdateGetOn();
|
||||
}
|
||||
UpdateAiming();
|
||||
if (shot_start || shot_hold) {
|
||||
UpdateShot();
|
||||
}
|
||||
UpdateAiming();
|
||||
if (use_skill) {
|
||||
UpdateUseSkill();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user