Removes a minor warning

This commit is contained in:
Linus Probert 2018-03-29 20:32:44 +02:00
parent cee584832e
commit 89e7f84870
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ particle_engine_sparkle(Position pos, Dimension dim)
p->blend_mode = SDL_BLENDMODE_BLEND;
p->dim = (Dimension) { 2, 2 };
p->color = C_WHITE;
p->color.a = alpha;
p->color.a = (Uint8) alpha;
p->fixed = true;
linkedlist_append(&engine->global_particles, p);
}