diff options
-rw-r--r-- | src/game.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -249,8 +249,12 @@ 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) { - mf_char_collision(chars[i], chars[j], - SDL_TRUE); + if (mf_char_collision(chars[i], + chars[j], + SDL_TRUE) + == SDL_TRUE) { + fr = 1; + } } } mf_char_get_vector(chars[0], &game.player_cx, |