BUG 2540: Vertraute ohne Auraim CR repariert

This commit is contained in:
Enno Rehling 2019-01-21 11:00:31 +01:00
parent 2564603b67
commit 148146d94e
1 changed files with 2 additions and 2 deletions

View File

@ -915,7 +915,8 @@ void cr_output_unit(stream *out, const faction * f,
if (fval(u, UFL_HUNGER) && (u->faction == f)) {
stream_printf(out, "1;hunger\n");
}
if (is_mage(u)) {
mage = get_mage(u);
if (mage) {
stream_printf(out, "%d;Aura\n", get_spellpoints(u));
stream_printf(out, "%d;Auramax\n", max_spellpoints_depr(u->region, u));
}
@ -957,7 +958,6 @@ void cr_output_unit(stream *out, const faction * f,
}
/* spells that this unit can cast */
mage = get_mage(u);
if (mage) {
int maxlevel = effskill(u, SK_MAGIC, 0);
cr_output_spells(out, u, maxlevel);