forked from github/server
BURG -> GEBÄUDE
This commit is contained in:
parent
687c4507d6
commit
83cda2ef62
|
@ -2980,6 +2980,7 @@ renumber(void)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case P_BUILDING:
|
case P_BUILDING:
|
||||||
|
case P_GEBAEUDE:
|
||||||
if(!u->building) {
|
if(!u->building) {
|
||||||
cmistake(u,S->s,145,MSG_EVENT);
|
cmistake(u,S->s,145,MSG_EVENT);
|
||||||
continue;
|
continue;
|
||||||
|
|
|
@ -1344,9 +1344,10 @@ findparam(const char *s, const struct locale * lang)
|
||||||
int i;
|
int i;
|
||||||
if (findtoken(&lnames->tokens[UT_PARAM], s, (void**)&i)==E_TOK_NOMATCH) {
|
if (findtoken(&lnames->tokens[UT_PARAM], s, (void**)&i)==E_TOK_NOMATCH) {
|
||||||
btype = findbuildingtype(s, lang);
|
btype = findbuildingtype(s, lang);
|
||||||
if (btype!=NULL) return (param_t) P_BUILDING;
|
if (btype!=NULL) return (param_t) P_GEBAEUDE;
|
||||||
return NOPARAM;
|
return NOPARAM;
|
||||||
}
|
}
|
||||||
|
if (i==P_BUILDING) return P_GEBAEUDE;
|
||||||
return (param_t)i;
|
return (param_t)i;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue