diff options
author | Bardur Arantsson <bardur@scientician.net> | 2019-02-15 19:20:25 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2019-02-15 19:20:25 +0100 |
commit | 468e258e01fada1118c50a992ec797d31157cc3b (patch) | |
tree | 72bd400698e7feed0f76bf09579bd630f4952484 /src/monster3.hpp | |
parent | 00518e2030b0ddf66777ee71301017b78220d006 (diff) |
Add missing 'const' to a couple of functions
Diffstat (limited to 'src/monster3.hpp')
-rw-r--r-- | src/monster3.hpp | 2 |
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); |