Änderungen für das tutorial, crashbug im mapper

This commit is contained in:
Enno Rehling 2002-04-20 20:08:00 +00:00
parent 72f9ac4c3e
commit e3e3b03d9a
2 changed files with 13 additions and 11 deletions

View File

@ -1241,15 +1241,17 @@ showunits(region * r)
break;
case '\023':
sh = findship(f);
sprintf(lbuf, "Einheit auf%s als Eigner?", shipname(sh));
if (yes_no(0, lbuf, 'j')) {
for (x = r->units; x; x = x->next)
if (x->ship == sh && fval(x, FL_OWNER)) {
freset(x, FL_OWNER);
break;
}
u->ship = sh;
fset(u, FL_OWNER);
if (sh) {
sprintf(lbuf, "Einheit auf%s als Eigner?", shipname(sh));
if (yes_no(0, lbuf, 'j')) {
for (x = r->units; x; x = x->next)
if (x->ship == sh && fval(x, FL_OWNER)) {
freset(x, FL_OWNER);
break;
}
u->ship = sh;
fset(u, FL_OWNER);
}
}
break;
case '\025':

View File

@ -12,10 +12,10 @@
<include file="ships.xml"></include>
<include file="buildings.xml"></include>
<game name="Eressea" welcome="tutorial">
<game name="Tutorial" welcome="tutorial">
<comment>Game specific</comment>
<order name="MEINUNG" disable></order>
<order name="EMAIL" disable></order>
<order name="MEINUNG" disable></order>
<order name="MAGIEGEBIET" disable></order>
</game>
<include file="tutorial/de/strings.xml"></include>