This commit is contained in:
Christian Schlittchen 2002-03-01 19:42:08 +00:00
parent fbd5190b50
commit aeb8882221
2 changed files with 8 additions and 7 deletions

View File

@ -1840,9 +1840,9 @@ verify_targets(castorder *co)
spobj->flag = TARGET_RESISTS; spobj->flag = TARGET_RESISTS;
resists++; resists++;
add_message(&mage->faction->msgs, new_message(mage->faction, add_message(&mage->faction->msgs, new_message(mage->faction,
"spellunitresists%u:unit%r:region%s:command%s:id", "spellunitresists%u:unit%r:region%s:command%d:id",
mage, mage->region, strdup(co->order), mage, mage->region, strdup(co->order),
strdup(spobj->data.i))); spobj->data.i));
break; break;
} }
@ -1864,8 +1864,8 @@ verify_targets(castorder *co)
spobj->flag = TARGET_RESISTS; spobj->flag = TARGET_RESISTS;
resists++; resists++;
add_message(&mage->faction->msgs, new_message(mage->faction, add_message(&mage->faction->msgs, new_message(mage->faction,
"spellbuildingresists%u:unit%r:region%s:command%i:id", "spellbuildingresists%u:unit%r:region%s:command%d:id",
mage, mage->region, strdup(co->order), strdup(spobj->data.i))); mage, mage->region, strdup(co->order), spobj->data.i));
break; break;
} }
success++; success++;
@ -1884,8 +1884,8 @@ verify_targets(castorder *co)
spobj->flag = TARGET_RESISTS; spobj->flag = TARGET_RESISTS;
resists++; resists++;
add_message(&mage->faction->msgs, new_message(mage->faction, add_message(&mage->faction->msgs, new_message(mage->faction,
"spellshipresists%u:unit%r:region%s:command%i:id", "spellshipresists%u:unit%r:region%s:command%d:id",
mage, mage->region, strdup(co->order), strdup(spobj->data.i))); mage, mage->region, strdup(co->order), spobj->data.i));
break; break;
} }
success++; success++;

View File

@ -21,7 +21,6 @@
#include <config.h> #include <config.h>
#include "eressea.h" #include "eressea.h"
#include "spell.h"
/* kernel includes */ /* kernel includes */
/* FIXME: brauchen wir die wirklich alle? */ /* FIXME: brauchen wir die wirklich alle? */
@ -48,6 +47,8 @@
#include "terrain.h" #include "terrain.h"
#include "unit.h" #include "unit.h"
#include "spell.h"
/* spells includes */ /* spells includes */
#include <spells/alp.h> #include <spells/alp.h>