1
This commit is contained in:
parent
5ae7aec473
commit
ca97e53809
@ -467,7 +467,7 @@ void InternalShot(Creature* c,
|
||||
}
|
||||
if (c->IsPlayer() || c->IsCar()) {
|
||||
#ifdef MYDEBUG
|
||||
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 fly_distance:%f\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 fly_distance:%f delay_time:%d\n",
|
||||
{
|
||||
bulletIdx,
|
||||
bullet_born_offset.x,
|
||||
@ -488,7 +488,8 @@ void InternalShot(Creature* c,
|
||||
bullet_born_pos.z,
|
||||
weapon_meta->id(),
|
||||
shot_animi_time,
|
||||
fly_distance
|
||||
fly_distance,
|
||||
std::get<3>(tuple)
|
||||
});
|
||||
#endif
|
||||
}
|
||||
@ -523,6 +524,8 @@ void InternalShot(Creature* c,
|
||||
if (weapon_meta->double_gun() &&
|
||||
bulletIdx > (int)(bulletNum / 2)) {
|
||||
bullet_info.hand = 1;
|
||||
} else if (weapon_meta->hand() == 1) {
|
||||
bullet_info.hand = 1;
|
||||
}
|
||||
#ifdef MYDEBUG1
|
||||
if (bullet_info.trace_target_uniid) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user