1
This commit is contained in:
parent
a1e3fedf5d
commit
cdcf1fbce7
@ -1151,7 +1151,8 @@ void Bullet::ReportHookHitPos(int hit_obj_uniid, const glm::vec3& hit_pos)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (sender.Get()) {
|
if (sender.Get()) {
|
||||||
float distance = GetPos().Distance2D2(hit_pos) + 3;
|
//float distance = GetPos().Distance2D2(hit_pos) + 3;
|
||||||
|
float distance = gun_meta->range() + 1;
|
||||||
GetMutablePos().FromGlmVec3(hit_pos);
|
GetMutablePos().FromGlmVec3(hit_pos);
|
||||||
room->grid_service->MoveBullet(this);
|
room->grid_service->MoveBullet(this);
|
||||||
BulletCheckResult result;
|
BulletCheckResult result;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user