mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-17 23:07:26 +08:00
Fixed aimbot snapping to weird angles when first grabbing a target with low FoV. (#3416)
This commit is contained in:
parent
847799d80f
commit
7e326d129e
@ -293,11 +293,12 @@ namespace big
|
||||
static void adjust_position_for_target_velocity(rage::fvector3& target_position)
|
||||
{
|
||||
const auto target_velocity = get_velocity(m_target);
|
||||
const auto my_velocity = get_velocity(g_local_player);
|
||||
|
||||
if (target_velocity == rage::fvector3{})
|
||||
return;
|
||||
|
||||
target_position += (target_velocity - get_velocity(g_local_player));
|
||||
target_position += (target_velocity - my_velocity);
|
||||
}
|
||||
|
||||
virtual void on_tick() override
|
||||
|
Loading…
x
Reference in New Issue
Block a user