From 0aaad98b1f7d8a2e3021a5ef350be8e8a026cee2 Mon Sep 17 00:00:00 2001 From: nathansmithsmith Date: Tue, 3 Oct 2023 13:50:23 -0600 Subject: Levels working --- src/entities/antifaShip.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/entities') diff --git a/src/entities/antifaShip.c b/src/entities/antifaShip.c index bd64545..36d438c 100644 --- a/src/entities/antifaShip.c +++ b/src/entities/antifaShip.c @@ -82,6 +82,7 @@ void controlAntifaShipKeyboardAndMouse(Game * game, Entity * entity) { if (data->shouldInitMousePosition) { data->shouldInitMousePosition = false; SetMousePosition(0, 0); + data->lastMouse = Vector2Zero(); } // Get mouse values. -- cgit v1.2.3