summaryrefslogtreecommitdiff
path: root/src/randart.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2011-02-19 17:09:03 +0100
committerBardur Arantsson <bardur@scientician.net>2011-02-19 19:32:06 +0100
commit946d101429a49b656ee37ad00a927787e2d463fd (patch)
tree99623edd7ad64502efbdefcc2ad1eaf693a062b2 /src/randart.c
parent6a077f767bab67c5847e6ccf98513151462879a4 (diff)
Remove dead (#if 0) code.
Diffstat (limited to 'src/randart.c')
-rw-r--r--src/randart.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/randart.c b/src/randart.c
index de1af12f..b44fdd6c 100644
--- a/src/randart.c
+++ b/src/randart.c
@@ -116,19 +116,9 @@ static bool grab_one_power(int *ra_idx, object_type *o_ptr, bool good, s16b *max
void give_activation_power (object_type * o_ptr)
{
- /* int type = 0, chance = 0; */
-
-
- /* A type was chosen... */
-#if 0 /* DGDGDGDG -- Todo later */
- o_ptr->xtra2 = type;
- o_ptr->art_flags3 |= TR3_ACTIVATE;
- o_ptr->timeout = 0;
-#else
o_ptr->xtra2 = 0;
o_ptr->art_flags3 &= ~TR3_ACTIVATE;
o_ptr->timeout = 0;
-#endif
}