diff options
author | P. J. McDermott <pj@pehjota.net> | 2021-03-27 17:48:27 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2021-03-27 17:48:27 (EDT) |
commit | 1af54624335128aa81ced4cd11c064a2188b296f (patch) | |
tree | 9a9957e1ad5a396f296167c51d3863ac283266e1 | |
parent | 9d7f111b7d5d882a10f919fcc861efc48ceedff9 (diff) | |
download | dodge-balls-1af54624335128aa81ced4cd11c064a2188b296f.zip dodge-balls-1af54624335128aa81ced4cd11c064a2188b296f.tar.gz dodge-balls-1af54624335128aa81ced4cd11c064a2188b296f.tar.bz2 |
level: Collide balls!
-rw-r--r-- | src/level.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/level.c b/src/level.c index b8dc618..9722120 100644 --- a/src/level.c +++ b/src/level.c @@ -138,6 +138,7 @@ db_level_play(SDL_Renderer *renderer, struct db_level *level) } } db_balls_move(level->balls); + db_balls_collisions(level->balls); _db_level_render(renderer, level); cur_ticks = SDL_GetTicks(); if ((Uint32) (1000 / fr) > (cur_ticks - prv_ticks)) { |