summaryrefslogtreecommitdiff
path: root/src/monster3.hpp
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2019-02-15 19:20:25 +0100
committerBardur Arantsson <bardur@scientician.net>2019-02-15 19:20:25 +0100
commit468e258e01fada1118c50a992ec797d31157cc3b (patch)
tree72bd400698e7feed0f76bf09579bd630f4952484 /src/monster3.hpp
parent00518e2030b0ddf66777ee71301017b78220d006 (diff)
Add missing 'const' to a couple of functions
Diffstat (limited to 'src/monster3.hpp')
-rw-r--r--src/monster3.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/monster3.hpp b/src/monster3.hpp
index d34d86f2..23f707ee 100644
--- a/src/monster3.hpp
+++ b/src/monster3.hpp
@@ -18,5 +18,5 @@ void ai_deincarnate(int m_idx);
void ai_possessor(int m_idx, int o_idx);
bool ai_multiply(int m_idx);
bool change_side(monster_type *m_ptr);
-int is_friend(monster_type *m_ptr);
+int is_friend(const monster_type *m_ptr);
bool is_enemy(monster_type *m_ptr, monster_type *t_ptr);