forked from github/server
segmentation fault
This commit is contained in:
parent
1c069da921
commit
a1a810a094
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue