diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-09-17 09:58:14 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-09-17 09:58:14 +0200 |
commit | ceb4551cfb0e3fd1bdf8bdb868e6758634486ecb (patch) | |
tree | 9b2d3d49b2bdeb15a9c4a07ec0a9e22f8ca4f92a /src/cmd6.cc | |
parent | ef68a0c23ddb50de58ddb55f1f893095b78d7c4c (diff) |
Remove effectively dead sound() code
Diffstat (limited to 'src/cmd6.cc')
-rw-r--r-- | src/cmd6.cc | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/cmd6.cc b/src/cmd6.cc index 661a950c..841c6684 100644 --- a/src/cmd6.cc +++ b/src/cmd6.cc @@ -1002,10 +1002,6 @@ void do_cmd_eat_food(void) /* Get the item */ object_type *o_ptr = get_object(item); - /* Sound */ - sound(SOUND_EAT); - - /* Take a turn */ energy_use = 100; @@ -2514,10 +2510,6 @@ void do_cmd_quaff_potion(void) object_type *o_ptr = get_object(item); - /* Sound */ - sound(SOUND_QUAFF); - - /* Take a turn */ energy_use = 100; @@ -3620,8 +3612,6 @@ void do_cmd_read_scroll(void) /* Hack -- allow certain scrolls to be "preserved" */ if (!used_up) return; - sound(SOUND_SCROLL); - /* Destroy scroll */ inc_stack_size(item, -1); } @@ -3762,7 +3752,6 @@ void do_cmd_use_staff(void) { if (flush_failure) flush(); msg_print("You failed to use the staff properly."); - sound(SOUND_FAIL); return; } @@ -3776,9 +3765,6 @@ void do_cmd_use_staff(void) } - /* Sound */ - sound(SOUND_ZAP); - /* Analyze the staff */ activate_stick(o_ptr, &obvious, &use_charge); @@ -3931,7 +3917,6 @@ void do_cmd_aim_wand(void) { if (flush_failure) flush(); msg_print("You failed to use the wand properly."); - sound(SOUND_FAIL); return; } @@ -3944,9 +3929,6 @@ void do_cmd_aim_wand(void) return; } - /* Sound */ - sound(SOUND_ZAP); - /* Analyze the wand */ activate_stick(o_ptr, &obvious, &use_charge); @@ -4223,8 +4205,6 @@ void do_cmd_zap_rod(void) /* Message */ msg_print("You failed to use the rod properly."); - sound(SOUND_FAIL); - return; } @@ -4249,9 +4229,6 @@ void do_cmd_zap_rod(void) /* Increase the timeout by the rod kind's pval. */ o_ptr->timeout -= cost; - /* Sound */ - sound(SOUND_ZAP); - /* Analyze the rod */ switch (o_ptr->pval) { @@ -4941,7 +4918,6 @@ void do_cmd_activate(void) { if (flush_failure) flush(); msg_print("You failed to activate it properly."); - sound(SOUND_FAIL); return; } @@ -4980,9 +4956,6 @@ void do_cmd_activate(void) /* Activate the item */ msg_print("You activate it..."); - /* Sound */ - sound(SOUND_ZAP); - /* New mostly unified activation code This has to be early to allow artifacts to override normal items -- neil */ |