segmentation fault

This commit is contained in:
Enno Rehling 2014-08-24 12:41:39 +02:00
parent 1c069da921
commit a1a810a094
1 changed files with 1 additions and 1 deletions

View File

@ -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 {