1
This commit is contained in:
parent
bc1ffaa472
commit
e4832413cc
@ -190,6 +190,7 @@ void Player::UpdateShot()
|
|||||||
if (GetCar() && GetCar()->IsDriver(this)) {
|
if (GetCar() && GetCar()->IsDriver(this)) {
|
||||||
bool shot_ok = false;
|
bool shot_ok = false;
|
||||||
a8::Vec2 target_dir = attack_dir;
|
a8::Vec2 target_dir = attack_dir;
|
||||||
|
GetCar()->attack_dir = attack_dir;
|
||||||
GetCar()->Shot(target_dir, shot_ok, fly_distance);
|
GetCar()->Shot(target_dir, shot_ok, fly_distance);
|
||||||
shot_start = false;
|
shot_start = false;
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user