forked from github/server
parent
adcd4ec1c6
commit
f3e54e103a
|
@ -1,3 +1,3 @@
|
|||
#define VERSION_MAJOR 3
|
||||
#define VERSION_MINOR 3
|
||||
#define VERSION_BUILD 686
|
||||
#define VERSION_BUILD 687
|
||||
|
|
|
@ -2389,7 +2389,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