summaryrefslogtreecommitdiff
path: root/world.c
diff options
context:
space:
mode:
Diffstat (limited to 'world.c')
-rw-r--r--world.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/world.c b/world.c
index 6d40110..228823e 100644
--- a/world.c
+++ b/world.c
@@ -306,7 +306,7 @@ void tick_world(world *w) {
player_collect(w, w->player.pos);
int to_combine = SDL_min(w->player.scores[TILE_RED],
- SDL_min(w->player.scores[TILE_GREEN], w->player.scores[TILE_BLUE]));
+ SDL_min(w->player.scores[TILE_GREEN], w->player.scores[TILE_BLUE]));
w->player.scores[TILE_LIGHT] += to_combine;
w->player.scores[TILE_RED] -= to_combine;
w->player.scores[TILE_GREEN] -= to_combine;