Skip to content

Commit

Permalink
fix reference count test crash
Browse files Browse the repository at this point in the history
  • Loading branch information
ennorehling committed Sep 3, 2024
1 parent 620520e commit d68081c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spells.c
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ report_effect(region * r, unit * mage, message * seen, message * unseen)
if (err) {
report_action(r, mage, seen, ACTION_CANNOTSEE);
}
ADDMSG(&mage->faction->msgs, seen);
add_message(&mage->faction->msgs, seen);
}

/* ------------------------------------------------------------- */
Expand Down

0 comments on commit d68081c

Please sign in to comment.