From f75083385dfeb2f75b2fbc65a10e0534cb87d093 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 3 Jan 2023 16:11:21 +0800 Subject: [PATCH] 1 --- server/gameserver/shot.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/gameserver/shot.cc b/server/gameserver/shot.cc index ea9c3992..f596c36e 100644 --- a/server/gameserver/shot.cc +++ b/server/gameserver/shot.cc @@ -439,11 +439,12 @@ void InternalShot(Creature* c, bullet_born_pos = c->GetPos().ToGlmVec3() + bullet_born_offset; if (c->IsPlayer() || c->IsCar()) { #ifdef DEBUG - a8::XPrintf("idx:%d offset:%f,%f angle:%f old_angle:%f angle_xy:%f,%f %f %f gun_muzzle_position:%f,%f,%f pos:%f,%f,%f gun_id:%d t:%d\n", + a8::XPrintf("idx:%d offset:%f,%f,%f angle:%f old_angle:%f angle_xyz:%f,%f,%f %f %f gun_muzzle_position:%f,%f,%f pos:%f,%f,%f gun_id:%d t:%d\n", { bulletIdx, bullet_born_offset.x, bullet_born_offset.y, + bullet_born_offset.z, bullet_born_angle, old_bullet_born_angle, c->GetAttackDir().x,