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;
|
||||||
|
|
|
@ -1338,16 +1338,17 @@ getkeyword (const struct locale * lang)
|
||||||
param_t
|
param_t
|
||||||
findparam(const char *s, const struct locale * lang)
|
findparam(const char *s, const struct locale * lang)
|
||||||
{
|
{
|
||||||
struct lstr * lnames = get_lnames(lang);
|
struct lstr * lnames = get_lnames(lang);
|
||||||
const building_type * btype;
|
const building_type * btype;
|
||||||
|
|
||||||
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;
|
||||||
}
|
}
|
||||||
return (param_t)i;
|
if (i==P_BUILDING) return P_GEBAEUDE;
|
||||||
|
return (param_t)i;
|
||||||
}
|
}
|
||||||
|
|
||||||
param_t
|
param_t
|
||||||
|
|
Loading…
Reference in New Issue