From ceb4551cfb0e3fd1bdf8bdb868e6758634486ecb Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Sat, 17 Sep 2016 09:58:14 +0200 Subject: Remove effectively dead sound() code --- src/spells2.cc | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/spells2.cc') 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 */ -- cgit v1.2.3