wrong parameters for spell

This commit is contained in:
Enno Rehling 2007-08-26 20:56:10 +00:00
parent 6540dc386f
commit 9d8edd01bf
2 changed files with 3 additions and 2 deletions

View file

@ -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);

View file

@ -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>