summaryrefslogtreecommitdiff
path: root/src/spells2.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/spells2.cc
parentef68a0c23ddb50de58ddb55f1f893095b78d7c4c (diff)
Remove effectively dead sound() code
Diffstat (limited to 'src/spells2.cc')
-rw-r--r--src/spells2.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/spells2.cc b/src/spells2.cc
index 15df2f37..da7f9ffc 100644
--- a/src/spells2.cc
+++ b/src/spells2.cc
@@ -5140,8 +5140,6 @@ void teleport_swap(int dir)
}
else
{
- sound(SOUND_TELEPORT);
-
cave[p_ptr->py][p_ptr->px].m_idx = c_ptr->m_idx;
/* Update the old location */
@@ -5223,8 +5221,6 @@ void swap_position(int lty, int ltx)
if (!c_ptr->m_idx)
{
- sound(SOUND_TELEPORT);
-
/* Keep trace of the old location */
tx = p_ptr->px;
ty = p_ptr->py;
@@ -5261,8 +5257,6 @@ void swap_position(int lty, int ltx)
{
m_ptr = &m_list[c_ptr->m_idx];
- sound(SOUND_TELEPORT);
-
cave[p_ptr->py][p_ptr->px].m_idx = c_ptr->m_idx;
/* Update the old location */