Merge pull request #57 from IMXNOOBX/main
Merge updates from main into experimental
This commit is contained in:
@@ -40,6 +40,10 @@ namespace hack {
|
||||
|
||||
const Vector3 c4ScreenPos = c4Origin.world_to_screen(view_matrix);
|
||||
|
||||
/**
|
||||
* Sometimes C4 Position bugged if you look behind the C4, or C4 Screen Pos not in Screen Area
|
||||
*/
|
||||
if (c4ScreenPos.z >= 0.01f) {
|
||||
float distance = localOrigin.calculate_distance(c4Origin);
|
||||
float roundedDistance = std::round(distance / 500.f);
|
||||
|
||||
@@ -64,6 +68,7 @@ namespace hack {
|
||||
10
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
int playerIndex = 0;
|
||||
uintptr_t list_entry;
|
||||
|
||||
Reference in New Issue
Block a user