BURG -> GEBÄUDE

This commit is contained in:
Enno Rehling 2004-03-08 18:39:34 +00:00
parent 687c4507d6
commit 83cda2ef62
2 changed files with 12 additions and 10 deletions

View File

@ -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;

View File

@ -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;
} }