mapper kompilieren mit korrekten parametern für new_ship

This commit is contained in:
Enno Rehling 2004-07-21 15:47:41 +00:00
parent f847cef578
commit a1912109d2
2 changed files with 2 additions and 2 deletions

View File

@ -530,7 +530,7 @@ NeuesSchiff(region * r)
wAddstr(stype[q]->name[0]); wAddstr(stype[q]->name[0]);
wrefresh(win); wrefresh(win);
s = new_ship(stype[q], r); s = new_ship(stype[q], default_locale, r);
/* Ist das richtig so, Henning? */ /* Ist das richtig so, Henning? */
addlist(&r->ships, s); addlist(&r->ships, s);
s->region = r; s->region = r;

View File

@ -60,7 +60,7 @@ SpecialFunctionUnit(unit *u)
case 'b': case 'b':
case 'B': case 'B':
{ {
ship *sh = new_ship(st_find("balloon"), u->region); ship *sh = new_ship(st_find("balloon"), u->faction->locale, u->region);
addlist(&u->region->ships, sh); addlist(&u->region->ships, sh);
set_string(&sh->name, "Ballon"); set_string(&sh->name, "Ballon");
set_string(&sh->display, "Eine große leuchtendrote Werbeaufschrift " set_string(&sh->display, "Eine große leuchtendrote Werbeaufschrift "