diff --git a/server/gameserver/human.cc b/server/gameserver/human.cc index 5cd2a71..3039a6f 100644 --- a/server/gameserver/human.cc +++ b/server/gameserver/human.cc @@ -312,8 +312,8 @@ void Human::Shot(a8::Vec2& target_dir) } } bullet_dir.Rotate(bullet_angle / 180.0f); - room->frame_event.AddBullet(this, bullet_born_pos, attack_dir, fly_distance); - room->CreateBullet(this, curr_weapon, bullet_born_pos, attack_dir, fly_distance); + room->frame_event.AddBullet(this, bullet_born_pos, bullet_dir, fly_distance); + room->CreateBullet(this, curr_weapon, bullet_born_pos, bullet_dir, fly_distance); } --curr_weapon->ammo; int slot_id = curr_weapon->meta->i->_inventory_slot();