summaryrefslogtreecommitdiff
path: root/world.c
diff options
context:
space:
mode:
authorcitrons <citrons@mondecitronne.com>2023-10-14 03:35:40 -0500
committercitrons <citrons@mondecitronne.com>2023-10-14 03:35:40 -0500
commit7c5f7142f76ca1be5eaf3f7795f18f8451aa30d5 (patch)
treeaf0ed0e35759c365a0e27380199dc745a6e80af7 /world.c
parent689c24dc77aac53416f6cb8b38362284ff64f308 (diff)
formatting
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;