forked from github/server
Merge branch 'version-3-3'
This commit is contained in:
commit
b67d42b45e
|
@ -2387,7 +2387,7 @@ static bool sell(unit * u, request ** sellorders, struct order *ord)
|
|||
}
|
||||
}
|
||||
else {
|
||||
n = atoi((const char *)s);
|
||||
n = s ? atoi(s) : 0;
|
||||
if (n == 0) {
|
||||
cmistake(u, ord, 27, MSG_COMMERCE);
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue