dummer bug im xml

This commit is contained in:
Enno Rehling 2003-06-22 11:19:36 +00:00
parent f9657cf936
commit 2ff0824420
2 changed files with 3 additions and 3 deletions

View File

@ -1330,7 +1330,7 @@ randomevents(void)
NULL, u->race, u->number));
/* create new message to add to units */
msg = msg_message("sighting", "region race number",
NULL, u->race, u->number);
u->region, u->race, u->number);
for (u=r->units;u;u=u->next) freset(u->faction, FL_DH);
for (u=r->units;u;u=u->next) {
faction * f = u->faction;

View File

@ -5,8 +5,8 @@
<arg name="number" type="int"></arg>
<arg name="race" type="race"></arg>
</type>
<text locale="de">"$if($isnull($region),"Es","In $region($region)") wurde$if($eq($number,1),"","n") $number $race($race,$number) gesichtet."</text>
<text locale="en">$if($isnull($region),"","In $region($region), ")$number $race($race,$number) were discovered."</text>
<text locale="de">"$if($isnull($region),"Es","In $region($region)") wurde$if($eq($number,1),"","n") $int(number) $race($race,$number) gesichtet."</text>
<text locale="en">"$if($isnull($region),"","In $region($region), ")$int($number) $race($race,$number) were discovered."</text>
</message>
<message name="mallorn_effect" section="magic">
<type>