summaryrefslogtreecommitdiff
path: root/src/spells1.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-10-08 11:38:29 +0200
committerBardur Arantsson <bardur@scientician.net>2016-10-08 11:38:29 +0200
commit71a820e7298a670c13bd68cb3e6f2274a4dc3ba9 (patch)
treec34ed289c07a9187b6d5f6600533fce7f6b872e1 /src/spells1.cc
parente2f33131dfed23435a7915daa57b1ddf05c5f898 (diff)
Remove unused parameter from disturb()
Diffstat (limited to 'src/spells1.cc')
-rw-r--r--src/spells1.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/spells1.cc b/src/spells1.cc
index 7f03703d..05373942 100644
--- a/src/spells1.cc
+++ b/src/spells1.cc
@@ -233,7 +233,7 @@ void teleport_player_directed(int rad, int dir)
if (c_ptr->feat == FEAT_SHOP)
{
/* Disturb */
- disturb(0);
+ disturb();
/* Hack -- enter store */
command_new = '_';
@@ -1240,7 +1240,7 @@ void take_hit(int damage, cptr hit_from)
if (death) return;
/* Disturb */
- disturb(1);
+ disturb();
/* Apply "invulnerability" */
if (p_ptr->invuln && (damage < 9000))
@@ -1478,7 +1478,7 @@ void take_sanity_hit(int damage, cptr hit_from)
if (death) return;
/* Disturb */
- disturb(1);
+ disturb();
/* Hurt the player */
@@ -6901,7 +6901,7 @@ static bool_ project_p(int who, int r, int y, int x, int dam, int typ, int a_rad
project(0, 0, t_y, t_x, dam, typ, (PROJECT_STOP | PROJECT_KILL));
- disturb(1);
+ disturb();
return TRUE;
}
@@ -7792,7 +7792,7 @@ static bool_ project_p(int who, int r, int y, int x, int dam, int typ, int a_rad
/* Disturb */
- disturb(1);
+ disturb();
/* Return "Anything seen?" */