diff options
Diffstat (limited to 'crawl-ref/source/spl-book.cc')
-rw-r--r-- | crawl-ref/source/spl-book.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/spl-book.cc b/crawl-ref/source/spl-book.cc index ff1482983a..a9f27709e7 100644 --- a/crawl-ref/source/spl-book.cc +++ b/crawl-ref/source/spl-book.cc @@ -21,7 +21,7 @@ #include <string.h> #ifdef DOS -#include <conio.h> + #include <conio.h> #endif #include "externs.h" @@ -1325,8 +1325,8 @@ bool learn_spell(int book) return (false); } - if (you.mutation[MUT_BLURRY_VISION] > 0 - && random2(4) < you.mutation[MUT_BLURRY_VISION]) + if (player_mutation_level(MUT_BLURRY_VISION) > 0 + && random2(4) < player_mutation_level(MUT_BLURRY_VISION)) { mpr("The writing blurs into unreadable gibberish."); you.turn_is_over = true; |