Use floats for position in ship_init().

This commit is contained in:
2026-03-20 14:32:21 +01:00
parent 1f3674b266
commit abe90847ea
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ struct ship {
* @param x Initial x position of the ship.
* @param y Initial y position of the ship.
*/
void ship_init(struct ship *ship, int x, int y);
void ship_init(struct ship *ship, float x, float y);
/**
* @brief Updates the ship's variables according to keyboard