forked from github/server
bugfix info_str messages
This commit is contained in:
parent
0423debfde
commit
9370a34190
|
@ -73,7 +73,7 @@ cinfo_shipnodrift(const void * obj, typ_t typ, const curse *c, int self)
|
|||
} else {
|
||||
sprintf(buf, "Ein silberner Schimmer umgibt das Schiff");
|
||||
}
|
||||
return msg_message("curseinfo::info_str", buf, c->no);
|
||||
return msg_message("curseinfo::info_str", "text id", buf, c->no);
|
||||
}
|
||||
|
||||
static struct curse_type ct_stormwind = { "stormwind",
|
||||
|
|
|
@ -257,7 +257,7 @@ cinfo_sparkle(const void * obj, typ_t typ, const curse *c, int self)
|
|||
if (end==begin) return NULL;
|
||||
else sprintf(buf, effects[begin + curse_geteffect(c) % (end-begin)], u->name);
|
||||
|
||||
return msg_message("curseinfo::info_str", "info id", buf, c->no);
|
||||
return msg_message("curseinfo::info_str", "text id", buf, c->no);
|
||||
}
|
||||
static struct curse_type ct_sparkle = { "sparkle",
|
||||
CURSETYP_UNIT, CURSE_SPREADMODULO, ( M_MEN | M_DURATION ),
|
||||
|
|
|
@ -96,7 +96,7 @@
|
|||
</message>
|
||||
<message name="curseinfo::info_str" section="events">
|
||||
<type>
|
||||
<arg name="info" type="string"/>
|
||||
<arg name="text" type="string"/>
|
||||
<arg name="id" type="int"/>
|
||||
</type>
|
||||
<text locale="de">"${info}. ($int36($id))"</text>
|
||||
|
|
Loading…
Reference in New Issue