diff options
Diffstat (limited to 'src/randart.cc')
-rw-r--r-- | src/randart.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/randart.cc b/src/randart.cc index e22f1c93..f7ea95f3 100644 --- a/src/randart.cc +++ b/src/randart.cc @@ -341,7 +341,10 @@ bool_ create_artifact(object_type *o_ptr, bool_ a_scroll, bool_ get_name) TR_IGNORE_COLD; total_flags = flag_cost(o_ptr, o_ptr->pval); - if (cheat_peek) msg_format("%ld", total_flags); + if (options->cheat_peek) + { + msg_format("%ld", total_flags); + } if (a_cursed) curse_artifact(o_ptr); |