forked from github/server
spellregionresists meldung hat keinen id parameter
This commit is contained in:
parent
378e228707
commit
f9a3a3a48c
|
@ -1825,8 +1825,8 @@ verify_targets(castorder *co)
|
||||||
if (!tr) { /* Fehlermeldung */
|
if (!tr) { /* Fehlermeldung */
|
||||||
failed++;
|
failed++;
|
||||||
add_message(&mage->faction->msgs, new_message(mage->faction,
|
add_message(&mage->faction->msgs, new_message(mage->faction,
|
||||||
"spellregionresists%u:unit%r:region%s:command%i:id",
|
"spellregionresists%u:unit%r:region%s:command",
|
||||||
mage, mage->region, strdup(co->order), spobj->data.i));
|
mage, mage->region, strdup(co->order)));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if ((sp->sptyp & TESTRESISTANCE)
|
if ((sp->sptyp & TESTRESISTANCE)
|
||||||
|
@ -1834,8 +1834,8 @@ verify_targets(castorder *co)
|
||||||
{ /* Fehlermeldung */
|
{ /* Fehlermeldung */
|
||||||
spobj->flag = TARGET_RESISTS;
|
spobj->flag = TARGET_RESISTS;
|
||||||
add_message(&mage->faction->msgs, new_message(mage->faction,
|
add_message(&mage->faction->msgs, new_message(mage->faction,
|
||||||
"spellregionresists%u:unit%r:region%s:command%i:id",
|
"spellregionresists%u:unit%r:region%s:command",
|
||||||
mage, mage->region, strdup(co->order), spobj->data.i));
|
mage, mage->region, strdup(co->order)));
|
||||||
failed++;
|
failed++;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -1866,8 +1866,8 @@ verify_targets(castorder *co)
|
||||||
if (target_resists_magic(mage, target_r, TYP_REGION, 0)) {
|
if (target_resists_magic(mage, target_r, TYP_REGION, 0)) {
|
||||||
/* Fehlermeldung */
|
/* Fehlermeldung */
|
||||||
add_message(&mage->faction->msgs, new_message(mage->faction,
|
add_message(&mage->faction->msgs, new_message(mage->faction,
|
||||||
"spellregionresists%u:unit%r:region%s:command%i:id",
|
"spellregionresists%u:unit%r:region%s:command",
|
||||||
mage, mage->region, strdup(co->order), spobj->data.i));
|
mage, mage->region, strdup(co->order)));
|
||||||
spobj->flag = TARGET_RESISTS;
|
spobj->flag = TARGET_RESISTS;
|
||||||
failed++;
|
failed++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue