1
This commit is contained in:
parent
cdcf1fbce7
commit
3b0b0e31ac
@ -1169,5 +1169,9 @@ void Bullet::ReportHookHitPos(int hit_obj_uniid, const glm::vec3& hit_pos)
|
|||||||
|
|
||||||
bool Bullet::IsClientHook()
|
bool Bullet::IsClientHook()
|
||||||
{
|
{
|
||||||
return true;
|
if (!IsFlyHook() ||
|
||||||
|
!sender.Get()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
return sender.Get()->IsPlayer();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user