summaryrefslogtreecommitdiff
path: root/src/monster3.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/monster3.cc')
-rw-r--r--src/monster3.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/monster3.cc b/src/monster3.cc
index f6b36aeb..9cbd04ec 100644
--- a/src/monster3.cc
+++ b/src/monster3.cc
@@ -33,7 +33,7 @@
* Is the mon,ster in friendly state(pet, friend, ..)
* -1 = enemy, 0 = neutral, 1 = friend
*/
-int is_friend(monster_type *m_ptr)
+int is_friend(monster_type const *m_ptr)
{
switch (m_ptr->status)
{