This commit is contained in:
aozhiwei 2022-09-29 19:36:52 +08:00
parent 50545838e8
commit df86d6410b

View File

@ -334,10 +334,10 @@ void InternalShot(Creature* c,
bullet_born_offset = a8::Vec2(v.z *10*1, v.x*10*-1);
bullet_born_pos = c->GetPos() + bullet_born_offset;
if (c->IsPlayer() || c->IsCar()) {
#ifdef DEBUG1
#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 gun_id:%d\n",
{
i,
bulletIdx,
bullet_born_offset.x,
bullet_born_offset.y,
bullet_born_angle,