diff options
-rw-r--r-- | crawl-ref/source/religion.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc index 39e460b77c..111ac7aad7 100644 --- a/crawl-ref/source/religion.cc +++ b/crawl-ref/source/religion.cc @@ -48,6 +48,7 @@ #include "itemprop.h" #include "item_use.h" #include "items.h" +#include "macro.h" #include "makeitem.h" #include "message.h" #include "misc.h" @@ -808,7 +809,7 @@ void pray() mpr("Stop praying? ('y' ends prayer, 'r' will renew prayer)", MSGCH_PROMPT); - const int tmp = getch(); + const int tmp = getch_with_command_macros(); if ( tmp == 'y' || tmp == 'Y') { |