forked from github/server
Änderungen für das tutorial, crashbug im mapper
This commit is contained in:
parent
72f9ac4c3e
commit
e3e3b03d9a
|
@ -1241,15 +1241,17 @@ showunits(region * r)
|
||||||
break;
|
break;
|
||||||
case '\023':
|
case '\023':
|
||||||
sh = findship(f);
|
sh = findship(f);
|
||||||
sprintf(lbuf, "Einheit auf%s als Eigner?", shipname(sh));
|
if (sh) {
|
||||||
if (yes_no(0, lbuf, 'j')) {
|
sprintf(lbuf, "Einheit auf%s als Eigner?", shipname(sh));
|
||||||
for (x = r->units; x; x = x->next)
|
if (yes_no(0, lbuf, 'j')) {
|
||||||
if (x->ship == sh && fval(x, FL_OWNER)) {
|
for (x = r->units; x; x = x->next)
|
||||||
freset(x, FL_OWNER);
|
if (x->ship == sh && fval(x, FL_OWNER)) {
|
||||||
break;
|
freset(x, FL_OWNER);
|
||||||
}
|
break;
|
||||||
u->ship = sh;
|
}
|
||||||
fset(u, FL_OWNER);
|
u->ship = sh;
|
||||||
|
fset(u, FL_OWNER);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case '\025':
|
case '\025':
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue