summaryrefslogtreecommitdiff
path: root/src/monster2.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2013-03-25 16:43:50 +0100
committerBardur Arantsson <bardur@scientician.net>2013-09-27 14:46:41 +0200
commitde312e85022558780a3357a655b9742793b6484f (patch)
tree1e2b2b73bf1f25ca1f38c3b29b6b971e78894e25 /src/monster2.c
parent3f0417be80c0cd9bae1d2aa9a81bc0bcc9ef4841 (diff)
Remove unused second parameter for disturb()
Diffstat (limited to 'src/monster2.c')
-rw-r--r--src/monster2.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/monster2.c b/src/monster2.c
index 9d79f73a..175bf991 100644
--- a/src/monster2.c
+++ b/src/monster2.c
@@ -1884,7 +1884,7 @@ void update_mon(int m_idx, bool_ full)
/* Disturb on appearance */
if (disturb_move)
{
- if (disturb_pets || (is_friend(m_ptr) <= 0)) disturb(1, 0);
+ if (disturb_pets || (is_friend(m_ptr) <= 0)) disturb(1);
}
}
@@ -1924,7 +1924,7 @@ void update_mon(int m_idx, bool_ full)
/* Disturb on disappearance*/
if (disturb_move)
{
- if (disturb_pets || (is_friend(m_ptr) <= 0)) disturb(1, 0);
+ if (disturb_pets || (is_friend(m_ptr) <= 0)) disturb(1);
}
}
}
@@ -1951,7 +1951,7 @@ void update_mon(int m_idx, bool_ full)
/* Disturb on appearance */
if (disturb_near)
{
- if (disturb_pets || (is_friend(m_ptr) <= 0)) disturb(1, 0);
+ if (disturb_pets || (is_friend(m_ptr) <= 0)) disturb(1);
}
}
@@ -1972,7 +1972,7 @@ void update_mon(int m_idx, bool_ full)
/* Disturb on disappearance */
if (disturb_near)
{
- if (disturb_pets || (is_friend(m_ptr) <= 0)) disturb(1, 0);
+ if (disturb_pets || (is_friend(m_ptr) <= 0)) disturb(1);
}
}
}