From f804db82b781acdfbe6af6a1cb7bfb5b356c8ec0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Madar=C3=A1sz?= Date: Sun, 29 Aug 2021 16:20:00 +0200 Subject: [PATCH] Update platform_raylib.c --- code/game/src/platform_raylib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/src/platform_raylib.c b/code/game/src/platform_raylib.c index fca0005..f971c30 100644 --- a/code/game/src/platform_raylib.c +++ b/code/game/src/platform_raylib.c @@ -81,7 +81,7 @@ void platform_input() { mouse_pos.y -= 0.5f; mouse_pos = Vector2Normalize(mouse_pos); x = mouse_pos.x; - y = mouse_pos.y; + y = -mouse_pos.y; } game_action_send_keystate(x, y, use, sprint);