1
This commit is contained in:
parent
50545838e8
commit
df86d6410b
@ -334,10 +334,10 @@ void InternalShot(Creature* c,
|
|||||||
bullet_born_offset = a8::Vec2(v.z *10*1, v.x*10*-1);
|
bullet_born_offset = a8::Vec2(v.z *10*1, v.x*10*-1);
|
||||||
bullet_born_pos = c->GetPos() + bullet_born_offset;
|
bullet_born_pos = c->GetPos() + bullet_born_offset;
|
||||||
if (c->IsPlayer() || c->IsCar()) {
|
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",
|
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.x,
|
||||||
bullet_born_offset.y,
|
bullet_born_offset.y,
|
||||||
bullet_born_angle,
|
bullet_born_angle,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user