summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2010-01-11 23:58:26 +0100
committerBardur Arantsson <bardur@scientician.net>2010-01-12 00:06:50 +0100
commit7d264acf35b2899a16040690a1d248b2999617c9 (patch)
tree3431a3bbc7d45ae093d8ae800392c93831155e6f
parent81d753f9f8bb79b221421076c629abd3dd873cc8 (diff)
Remove dead code.
-rw-r--r--src/wizard2.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/wizard2.c b/src/wizard2.c
index a5cf0771..daabe4f3 100644
--- a/src/wizard2.c
+++ b/src/wizard2.c
@@ -91,24 +91,6 @@ void do_cmd_rerate(void)
{
int min_value, max_value, i, percent;
-#ifdef TEST
- int fubar, mlk = 0;
-
- for (fubar = 0; fubar < max_k_idx; fubar++)
- {
- if ((k_info[fubar].tval == TV_POTION) || (k_info[fubar].tval == TV_POTION2))
- {
- k_info[fubar].x_attr = 0xBC;
- mlk++;
- }
- }
-
- msg_format ("%d changes made.", mlk);
-
-#else /* TEST */
-
-#endif /* TEST */
-
min_value = (PY_MAX_LEVEL * 3 * (p_ptr->hitdie - 1)) / 8;
min_value += PY_MAX_LEVEL;