1
This commit is contained in:
parent
e4832413cc
commit
48d197413b
@ -192,6 +192,9 @@ void Player::UpdateShot()
|
||||
a8::Vec2 target_dir = attack_dir;
|
||||
GetCar()->attack_dir = attack_dir;
|
||||
GetCar()->Shot(target_dir, shot_ok, fly_distance);
|
||||
if (!moving) {
|
||||
GetCar()->SetMoveDir(attack_dir);
|
||||
}
|
||||
shot_start = false;
|
||||
return;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user