summaryrefslogtreecommitdiff
path: root/src/melee1.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-03-22 13:05:39 +0100
committerBardur Arantsson <bardur@scientician.net>2015-03-22 13:05:39 +0100
commitb11197ae79d621c50d89f6a092a3f95f954712f0 (patch)
tree44b20f31bc6b4f946d2f4fb6c19afdce558a34f2 /src/melee1.cc
parentfb2a78c52a32026a57fd9cc7763a783456199dd7 (diff)
Inline various GOD macros
Diffstat (limited to 'src/melee1.cc')
-rw-r--r--src/melee1.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/melee1.cc b/src/melee1.cc
index 58f41903..5e3dba82 100644
--- a/src/melee1.cc
+++ b/src/melee1.cc
@@ -11,6 +11,7 @@
#include "angband.h"
#include "cave.hpp"
#include "cmd5.hpp"
+#include "gods.hpp"
#include "mimic.hpp"
#include "monster2.hpp"
#include "monster3.hpp"
@@ -1552,7 +1553,7 @@ bool_ make_attack_normal(int m_idx, byte divis)
}
/* Eru can help you */
- PRAY_GOD(GOD_ERU)
+ if (praying_to(GOD_ERU))
{
s32b chance = p_ptr->grace;