forked from github/server
- ZERSTOERE STRASSE hat nicht geklappt, wenn mengenangabe
This commit is contained in:
parent
272eb7fa75
commit
40262c3466
|
@ -359,11 +359,6 @@ destroy_cmd(unit * u, struct order * ord)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!fval(u, UFL_OWNER)) {
|
|
||||||
cmistake(u, ord, 138, MSG_PRODUCE);
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (s && *s) {
|
if (s && *s) {
|
||||||
n = atoi(s);
|
n = atoi(s);
|
||||||
if(n <= 0) {
|
if(n <= 0) {
|
||||||
|
@ -377,6 +372,11 @@ destroy_cmd(unit * u, struct order * ord)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!fval(u, UFL_OWNER)) {
|
||||||
|
cmistake(u, ord, 138, MSG_PRODUCE);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
if (u->building) {
|
if (u->building) {
|
||||||
building *b = u->building;
|
building *b = u->building;
|
||||||
if (a_find(b->attribs, &at_nodestroy)) {
|
if (a_find(b->attribs, &at_nodestroy)) {
|
||||||
|
|
Loading…
Reference in New Issue