diff options
Diffstat (limited to 'src/world.c')
-rw-r--r-- | src/world.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/world.c b/src/world.c index 0a6b544..db6e55d 100644 --- a/src/world.c +++ b/src/world.c @@ -43,7 +43,7 @@ float getWorldPixelHeight(World world, int x, int y) return (float)height / count; } -float getWorldHeightAtLocation(World world, int x, int y) +float getWorldHeightAtLocation(World world, float x, float y) { float toMapX = (float)world.image->width / world.size.x; float toMapY = (float)world.image->height / world.size.z; |