]> git.lizzy.rs Git - nothing.git/blobdiff - src/game/level/player.c
Replace Vec and Point with Vec2f
[nothing.git] / src / game / level / player.c
index 6775230d0f2bece3ccabb55c3b79fd13303f86bd..1f36b49a299cd2c459b09751bdcbf749b2c23ba8 100644 (file)
@@ -42,7 +42,7 @@ struct Player {
     int jump_threshold;
     Color color;
 
-    Vec checkpoint;
+    Vec2f checkpoint;
 
     int play_die_cue;
 };
@@ -278,7 +278,7 @@ void player_die_from_lava(Player *player,
     }
 }
 
-void player_checkpoint(Player *player, Vec checkpoint)
+void player_checkpoint(Player *player, Vec2f checkpoint)
 {
     player->checkpoint = checkpoint;
 }