Skip to content

Commit

Permalink
Merge pull request #586 from Jitnaught/dev_v3
Browse files Browse the repository at this point in the history
Added missing boolean parameter to GET_GROUND_Z_FOR_3D_COORD within GetGroundHeight
  • Loading branch information
crosire committed Jan 14, 2017
2 parents 6ab8cef + e82b444 commit 756243d
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 756243d

Please sign in to comment.