forked from github/server
fix terrain type in detectocean message.
This commit is contained in:
parent
18c0c235db
commit
30acc38d53
|
@ -2899,9 +2899,10 @@
|
|||
<type>
|
||||
<arg name="unit" type="unit"/>
|
||||
<arg name="region" type="region"/>
|
||||
<arg name="terrain" type="string"/>
|
||||
</type>
|
||||
<text locale="de">"$unit($unit) entdeckt, dass $region($region) $terrain($region) ist."</text>
|
||||
<text locale="en">"$unit($unit) discovered that $region($region) is $terrain($region)."</text>
|
||||
<text locale="de">"$unit($unit) entdeckt, dass $region($region) $localize($terrain) ist."</text>
|
||||
<text locale="en">"$unit($unit) discovered that $region($region) is $localize($terrain)."</text>
|
||||
</message>
|
||||
<message name="leftship" section="movement">
|
||||
<type>
|
||||
|
|
|
@ -1592,13 +1592,13 @@ static const region_list *travel_route(unit * u,
|
|||
else if ((u_race(u)->flags & RCF_WALK) == 0) {
|
||||
/* Spezialeinheiten, die nicht laufen können. */
|
||||
ADDMSG(&u->faction->msgs, msg_message("detectocean",
|
||||
"unit region", u, next));
|
||||
"unit region terrain", u, next, terrain_name(next)));
|
||||
break;
|
||||
}
|
||||
else if (landing) {
|
||||
/* wir sind diese woche angelandet */
|
||||
ADDMSG(&u->faction->msgs, msg_message("detectocean",
|
||||
"unit region", u, next));
|
||||
"unit region terrain", u, next, terrain_name(next)));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -1607,7 +1607,7 @@ static const region_list *travel_route(unit * u,
|
|||
* Pferde betreten werden. */
|
||||
if (!(canswim(u) || canfly(u))) {
|
||||
ADDMSG(&u->faction->msgs, msg_message("detectocean",
|
||||
"unit region", u, next));
|
||||
"unit region terrain", u, next, terrain_name(next)));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue