- ZERSTOERE STRASSE hat nicht geklappt, wenn mengenangabe
This commit is contained in:
Enno Rehling 2004-09-08 23:17:37 +00:00
parent 272eb7fa75
commit 40262c3466
1 changed files with 5 additions and 5 deletions

View File

@ -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)) {