summaryrefslogtreecommitdiffstats
path: root/src/game.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.c')
-rw-r--r--src/game.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game.c b/src/game.c
index d582323..6908626 100644
--- a/src/game.c
+++ b/src/game.c
@@ -251,6 +251,9 @@ mf_game(long seed, int size, int fow, int reveal, int enemies,
mf_char_update(chars[i]);
}
for (i = 0; i < enemies; ++i) {
+ mf_enemy_postupdate(chars[i]);
+ }
+ for (i = 0; i < enemies; ++i) {
for (j = i + 1; j < enemies; ++j) {
mf_char_collision(chars[i], chars[j],
SDL_TRUE);