1
This commit is contained in:
parent
743d6cff90
commit
f75083385d
@ -439,11 +439,12 @@ void InternalShot(Creature* c,
|
|||||||
bullet_born_pos = c->GetPos().ToGlmVec3() + bullet_born_offset;
|
bullet_born_pos = c->GetPos().ToGlmVec3() + bullet_born_offset;
|
||||||
if (c->IsPlayer() || c->IsCar()) {
|
if (c->IsPlayer() || c->IsCar()) {
|
||||||
#ifdef DEBUG
|
#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,
|
bulletIdx,
|
||||||
bullet_born_offset.x,
|
bullet_born_offset.x,
|
||||||
bullet_born_offset.y,
|
bullet_born_offset.y,
|
||||||
|
bullet_born_offset.z,
|
||||||
bullet_born_angle,
|
bullet_born_angle,
|
||||||
old_bullet_born_angle,
|
old_bullet_born_angle,
|
||||||
c->GetAttackDir().x,
|
c->GetAttackDir().x,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user