Merge branch 'version-3-3'

This commit is contained in:
Enno Rehling 2014-10-26 21:19:16 +01:00
commit b67d42b45e
1 changed files with 1 additions and 1 deletions

View File

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