forked from github/server
mapper kompilieren mit korrekten parametern für new_ship
This commit is contained in:
parent
f847cef578
commit
a1912109d2
|
@ -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;
|
||||||
|
|
|
@ -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 "
|
||||||
|
|
Loading…
Reference in New Issue