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