diff options
author | Bardur Arantsson <bardur@scientician.net> | 2015-02-23 09:12:01 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2015-02-23 09:12:01 +0100 |
commit | 25a118cf7d49b86fae23c07297ebe87c4c169842 (patch) | |
tree | 39be10d8341287f2a4a1aba1075292e7579cf827 /src/powers.cc | |
parent | 15e1dcc950e7a48f90efa421045d03b9a834da80 (diff) |
Split powers function declarations to separate header file
Diffstat (limited to 'src/powers.cc')
-rw-r--r-- | src/powers.cc | 3 |
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; |