forked from github/server
wrong parameters for spell
This commit is contained in:
parent
6540dc386f
commit
9d8edd01bf
2 changed files with 3 additions and 2 deletions
|
@ -3302,7 +3302,7 @@ make_battle(region * r)
|
|||
makedir(zText, 0700);
|
||||
sprintf(zFilename, "%s/battle-%d-%s.log", zText, obs_count, simplename(r));
|
||||
bdebug = fopen(zFilename, "w");
|
||||
if (!bdebug) log_error(("battles können nicht debugged werden\n"));
|
||||
if (!bdebug) log_error(("battles cannot be debugged\n"));
|
||||
else {
|
||||
const unsigned char utf8_bom[4] = { 0xef, 0xbb, 0xbf };
|
||||
fwrite(utf8_bom, 1, 3, bdebug);
|
||||
|
|
|
@ -1204,7 +1204,8 @@
|
|||
<message name="cast_sleep_effect" section="magic">
|
||||
<type>
|
||||
<arg name="mage" type="unit"/>
|
||||
<arg name="region" type="region"/>
|
||||
<arg name="spell" type="spell"/>
|
||||
<arg name="amount" type="int"/>
|
||||
</type>
|
||||
<text locale="de">"$unit($mage) zaubert $spell($spell): $int($amount) Krieger wurden in Schlaf versetzt."</text>
|
||||
<text locale="en">"$unit($mage) casts $spell($spell): $int($amount) fighters have fallen asleep."</text>
|
||||
|
|
Loading…
Reference in a new issue