diff options
Diffstat (limited to 'crawl-ref/source/randart.cc')
-rw-r--r-- | crawl-ref/source/randart.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/randart.cc b/crawl-ref/source/randart.cc index 441e8210b5..8709042d58 100644 --- a/crawl-ref/source/randart.cc +++ b/crawl-ref/source/randart.cc @@ -97,7 +97,8 @@ static bool _god_fits_artefact(const god_type which_god, const item_def &item, if (type_bad && !name_check_only) { ASSERT(!"God attempting to gift invalid type of item."); - mprf(MSGCH_ERROR, "%s attempting to gift invalid type of item."); + mprf(MSGCH_ERROR, "%s attempting to gift invalid type of item.", + god_name(which_god).c_str()); // Prevent infinite loop in make_item_randart(). return (true); } |