summaryrefslogtreecommitdiff
path: root/src/cmd2.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-09-17 09:58:14 +0200
committerBardur Arantsson <bardur@scientician.net>2016-09-17 09:58:14 +0200
commitceb4551cfb0e3fd1bdf8bdb868e6758634486ecb (patch)
tree9b2d3d49b2bdeb15a9c4a07ec0a9e22f8ca4f92a /src/cmd2.cc
parentef68a0c23ddb50de58ddb55f1f893095b78d7c4c (diff)
Remove effectively dead sound() code
Diffstat (limited to 'src/cmd2.cc')
-rw-r--r--src/cmd2.cc29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/cmd2.cc b/src/cmd2.cc
index 059170d4..2a8d33e7 100644
--- a/src/cmd2.cc
+++ b/src/cmd2.cc
@@ -1072,9 +1072,6 @@ static bool_ do_cmd_open_aux(int y, int x, int dir)
/* Update some things */
p_ptr->update |= (PU_VIEW | PU_MONSTERS | PU_MON_LITE);
- /* Sound */
- sound(SOUND_OPENDOOR);
-
/* Experience */
gain_exp(1);
}
@@ -1104,9 +1101,6 @@ static bool_ do_cmd_open_aux(int y, int x, int dir)
/* Update some things */
p_ptr->update |= (PU_VIEW | PU_MONSTERS | PU_MON_LITE);
-
- /* Sound */
- sound(SOUND_OPENDOOR);
}
/* Result */
@@ -1284,9 +1278,6 @@ static bool_ do_cmd_close_aux(int y, int x, int dir)
/* Update some things */
p_ptr->update |= (PU_VIEW | PU_MONSTERS | PU_MON_LITE);
-
- /* Sound */
- sound(SOUND_SHUTDOOR);
}
/* Result */
@@ -1500,9 +1491,6 @@ static bool_ do_cmd_tunnel_aux(int y, int x, int dir)
/* Get grid */
c_ptr = &cave[y][x];
- /* Sound */
- sound(SOUND_DIG);
-
/* Titanium */
if (f_ptr->flags & FF_PERMANENT)
{
@@ -1899,7 +1887,6 @@ static bool_ do_cmd_disarm_chest(int y, int x, s16b o_idx)
else
{
msg_print("You set off a trap!");
- sound(SOUND_FAIL);
chest_trap(y, x, o_idx);
}
@@ -2202,9 +2189,6 @@ static bool_ do_cmd_bash_aux(int y, int x, int dir)
cave_set_feat(y, x, FEAT_OPEN);
}
- /* Sound */
- sound(SOUND_OPENDOOR);
-
/* Hack -- Fall through the door. Can't disarm while falling. */
move_player_aux(dir, always_pickup, 0, FALSE);
@@ -3215,10 +3199,6 @@ void do_cmd_fire(void)
}
- /* Sound */
- sound(SOUND_SHOOT);
-
-
/* Describe the object */
object_desc(o_name, q_ptr, FALSE, 3);
@@ -3449,9 +3429,6 @@ void do_cmd_fire(void)
{
char m_name[80];
- /* Sound */
- sound(SOUND_FLEE);
-
/* Get the monster name (or "it") */
monster_desc(m_name, m_ptr, 0);
@@ -3858,9 +3835,6 @@ void do_cmd_throw(void)
{
char m_name[80];
- /* Sound */
- sound(SOUND_FLEE);
-
/* Get the monster name (or "it") */
monster_desc(m_name, m_ptr, 0);
@@ -4185,9 +4159,6 @@ void do_cmd_boomerang(void)
{
char m_name[80];
- /* Sound */
- sound(SOUND_FLEE);
-
/* Get the monster name (or "it") */
monster_desc(m_name, m_ptr, 0);