summaryrefslogtreecommitdiff
path: root/menuchoixpersos.c
diff options
context:
space:
mode:
Diffstat (limited to 'menuchoixpersos.c')
-rw-r--r--menuchoixpersos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/menuchoixpersos.c b/menuchoixpersos.c
index 3a40875..f3f5cd3 100644
--- a/menuchoixpersos.c
+++ b/menuchoixpersos.c
@@ -109,7 +109,7 @@ static void generate_enemy_types(const struct team_t *ally_team,
if (avg < 5)
{
/* easy */
- for (int i = 0; i <= count; i++) {
+ for (int i = 0; i < count; i++) {
classes[i] = CLASS_WARRIOR_GOBELIN;
}
} else {