forked from github/server
segmentation fault
This commit is contained in:
parent
f1d78b4b84
commit
87720c2b9c
|
@ -2777,7 +2777,7 @@ static void breed_cmd(unit * u, struct order *ord)
|
||||||
m = INT_MAX;
|
m = INT_MAX;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!s[0]) {
|
if (!s || !s[0]) {
|
||||||
p = P_ANY;
|
p = P_ANY;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue