Removes crazy old bug that never presented itself before

This isn't an issue with the current release because destruction of
objects and artifact objects is identical. Only became an issue now that
the artifact struct and destruction is chaning.
This commit is contained in:
Linus Probert 2019-03-06 22:28:13 +01:00
parent ca41520c06
commit 9b4a7b6cfc
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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);