diff --git a/server/gameserver/player.cc b/server/gameserver/player.cc index 92f5ff9..e502c2d 100644 --- a/server/gameserver/player.cc +++ b/server/gameserver/player.cc @@ -190,6 +190,7 @@ void Player::UpdateShot() if (GetCar() && GetCar()->IsDriver(this)) { bool shot_ok = false; a8::Vec2 target_dir = attack_dir; + GetCar()->attack_dir = attack_dir; GetCar()->Shot(target_dir, shot_ok, fly_distance); shot_start = false; return;