forked from github/server
Name von Monumenten änderbar
This commit is contained in:
parent
0127f3446c
commit
923ea5bcf8
|
@ -1592,12 +1592,13 @@ name_cmd(unit * u, struct order * ord)
|
||||||
cmistake(u, ord, 278, MSG_EVENT);
|
cmistake(u, ord, 278, MSG_EVENT);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
if (b->type == bt_find("monument")) {
|
||||||
sprintf(buf, "Monument %d", b->no);
|
sprintf(buf, "Monument %d", b->no);
|
||||||
if (b->type == bt_find("monument")
|
if (strcmp(b->name, buf)!=0) {
|
||||||
&& !strcmp(b->name, buf)) {
|
|
||||||
cmistake(u, ord, 29, MSG_EVENT);
|
cmistake(u, ord, 29, MSG_EVENT);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (b->type == bt_find("artsculpure")) {
|
if (b->type == bt_find("artsculpure")) {
|
||||||
cmistake(u, ord, 29, MSG_EVENT);
|
cmistake(u, ord, 29, MSG_EVENT);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue