Skip to content

Commit

Permalink
Added missing boolean parameter to GET_GROUND_Z_FOR_3D_COORD
Browse files Browse the repository at this point in the history
  • Loading branch information
Jitnaught committed Jan 14, 2017
1 parent 6ab8cef commit e82b444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/scripting/World.cs
Expand Up @@ -572,7 +572,7 @@ public static float GetGroundHeight(Vector2 position)

unsafe
{
Function.Call(Hash.GET_GROUND_Z_FOR_3D_COORD, position.X, position.Y, 1000f, &resultArg);
Function.Call(Hash.GET_GROUND_Z_FOR_3D_COORD, position.X, position.Y, 1000f, &resultArg, false);
}

return resultArg;
Expand Down

0 comments on commit e82b444

Please sign in to comment.