Skip to content

Commit

Permalink
cleaned print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
ys-zm committed Feb 5, 2024
1 parent 304203d commit 2b091df
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/game/sprite.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
// Stub
int init_sprites(uint32_t sprite_count, int32_t **sprite_order, double **sprite_dist)
{
printf("sprite arrays initiated!\n");
*sprite_order = malloc(sizeof(int32_t) * sprite_count);
if (!*sprite_order)
return (pr_err(MALL_ERR), EXIT_FAILURE);
Expand Down Expand Up @@ -60,7 +59,6 @@ void sprite_calculate(t_player *p)

sprite_sort(p->sprite_dist, p->sprite_order, p->meta->attributes.sprite_count);

printf("sprite count: %d\n", p->meta->attributes.sprite_count);
i = 0;
while (i < p->meta->attributes.sprite_count)
{
Expand Down

0 comments on commit 2b091df

Please sign in to comment.