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