diff --git a/src/economy.c b/src/economy.c index bd75c1049..8819f0fd4 100644 --- a/src/economy.c +++ b/src/economy.c @@ -2777,7 +2777,7 @@ static void breed_cmd(unit * u, struct order *ord) m = INT_MAX; } - if (!s[0]) { + if (!s || !s[0]) { p = P_ANY; } else {