Ä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,6 +1241,7 @@ showunits(region * r)
break; break;
case '\023': case '\023':
sh = findship(f); sh = findship(f);
if (sh) {
sprintf(lbuf, "Einheit auf%s als Eigner?", shipname(sh)); sprintf(lbuf, "Einheit auf%s als Eigner?", shipname(sh));
if (yes_no(0, lbuf, 'j')) { if (yes_no(0, lbuf, 'j')) {
for (x = r->units; x; x = x->next) for (x = r->units; x; x = x->next)
@ -1251,6 +1252,7 @@ showunits(region * r)
u->ship = sh; u->ship = sh;
fset(u, FL_OWNER); fset(u, FL_OWNER);
} }
}
break; break;
case '\025': case '\025':
x = findunit(f, r); x = findunit(f, r);

View File

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