From 1b5817ea5fe469f9001e09acd8e9468c87aea2a0 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 18 Aug 2021 16:40:08 -0400 Subject: Revert "game: Slow down on enemy collision" This reverts commit 74904bd7f54e63c1068a8165a71940866205dfbe. --- diff --git a/src/game.c b/src/game.c index 183e0ad..0c94202 100644 --- a/src/game.c +++ b/src/game.c @@ -249,12 +249,8 @@ mf_game(long seed, int size, int fow, int reveal, int enemies, } for (i = 1; i < 1 + enemies; ++i) { for (j = i + 1; j < 1 + enemies; ++j) { - if (mf_char_collision(chars[i], - chars[j], - SDL_TRUE) - == SDL_TRUE) { - fr = 1; - } + mf_char_collision(chars[i], chars[j], + SDL_TRUE); } } mf_char_get_vector(chars[0], &game.player_cx, -- cgit v0.9.1