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());
|
(weapon_meta->i->id());
|
||||||
MetaData::Equip* bullet_meta = MetaMgr::Instance()->GetEquip(weapon_meta->i->use_bullet());;
|
MetaData::Equip* bullet_meta = MetaMgr::Instance()->GetEquip(weapon_meta->i->use_bullet());;
|
||||||
|
|
||||||
if (weapon_upgrade_meta && bullet_meta) {
|
if (bullet_meta) {
|
||||||
InternalShot(this,
|
InternalShot(this,
|
||||||
weapon_meta,
|
weapon_meta,
|
||||||
weapon_upgrade_meta,
|
weapon_upgrade_meta,
|
||||||
|
@ -114,10 +114,10 @@ void Player::InternalUpdate(int delta_time)
|
|||||||
if (get_on) {
|
if (get_on) {
|
||||||
UpdateGetOn();
|
UpdateGetOn();
|
||||||
}
|
}
|
||||||
UpdateAiming();
|
|
||||||
if (shot_start || shot_hold) {
|
if (shot_start || shot_hold) {
|
||||||
UpdateShot();
|
UpdateShot();
|
||||||
}
|
}
|
||||||
|
UpdateAiming();
|
||||||
if (use_skill) {
|
if (use_skill) {
|
||||||
UpdateUseSkill();
|
UpdateUseSkill();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user