From 5a7d2dcf10ca31c4dbfacad8a64734e5e52a7497 Mon Sep 17 00:00:00 2001 From: Fabio Maciel <6810827+fabiomaciel@users.noreply.github.com> Date: Thu, 8 Dec 2022 12:59:46 -0300 Subject: fix: adjust a player coord to use negative values --- src/player.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/player.h b/src/player.h index 1f211c7..320c1bb 100644 --- a/src/player.h +++ b/src/player.h @@ -35,8 +35,8 @@ #include typedef struct player { - uint16_t x; - uint16_t y; + int16_t x; + int16_t y; uint16_t width; uint16_t height; uint16_t speed; -- cgit v1.2.3