summaryrefslogtreecommitdiff
path: root/src/powers.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/powers.cc')
-rw-r--r--src/powers.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/powers.cc b/src/powers.cc
index c9db0925..e6a3cdce 100644
--- a/src/powers.cc
+++ b/src/powers.cc
@@ -6,6 +6,7 @@
* included in all such copies.
*/
+#include "powers.hpp"
#include "angband.h"
#include "cave.hpp"
#include "cmd1.hpp"
@@ -19,7 +20,7 @@
/*
* Note: return value indicates the amount of mana to use
*/
-bool_ power_chance(power_type *x_ptr)
+static bool_ power_chance(power_type *x_ptr)
{
bool_ use_hp = FALSE;
int diff = x_ptr->diff;