commit
6009aa17f1
|
@ -219,7 +219,7 @@ artifact_render(Artifact *a, Camera *cam)
|
||||||
Position pos = a->sprite->pos;
|
Position pos = a->sprite->pos;
|
||||||
pos.x += 4;
|
pos.x += 4;
|
||||||
pos.y += 4;
|
pos.y += 4;
|
||||||
particle_engine_sparkle(pos, (Dimension) { 24, 24 }, C_PURPLE, false);
|
particle_engine_sparkle(pos, DIM(24, 24), C_PURPLE, false);
|
||||||
if (a->priceSprite)
|
if (a->priceSprite)
|
||||||
sprite_render(a->priceSprite, cam);
|
sprite_render(a->priceSprite, cam);
|
||||||
}
|
}
|
||||||
|
|
|
@ -445,7 +445,7 @@ map_destroy(Map *map)
|
||||||
artifact_destroy(linkedlist_pop(&map->artifacts));
|
artifact_destroy(linkedlist_pop(&map->artifacts));
|
||||||
|
|
||||||
while (map->objects != NULL)
|
while (map->objects != NULL)
|
||||||
artifact_destroy(linkedlist_pop(&map->objects));
|
object_destroy(linkedlist_pop(&map->objects));
|
||||||
|
|
||||||
timer_destroy(map->monsterMoveTimer);
|
timer_destroy(map->monsterMoveTimer);
|
||||||
free(map);
|
free(map);
|
||||||
|
|
Loading…
Reference in New Issue