diff --git a/src/artifact.c b/src/artifact.c index b2d8a6c..654f3b7 100644 --- a/src/artifact.c +++ b/src/artifact.c @@ -197,7 +197,7 @@ artifact_render(Artifact *a, Camera *cam) Position pos = a->sprite->pos; pos.x += 4; pos.y += 4; - particle_engine_sparkle(pos, (Dimension) { 24, 24 }, C_PURPLE, false); + particle_engine_sparkle(pos, DIM(24, 24), C_PURPLE, false); } void diff --git a/src/map.c b/src/map.c index a89ece3..7f0e247 100644 --- a/src/map.c +++ b/src/map.c @@ -439,7 +439,7 @@ map_destroy(Map *map) artifact_destroy(linkedlist_pop(&map->artifacts)); while (map->objects != NULL) - artifact_destroy(linkedlist_pop(&map->objects)); + object_destroy(linkedlist_pop(&map->objects)); timer_destroy(map->monsterMoveTimer); free(map);