From d8de8c129fb9fc8d2110f39108949d7025456151 Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Wed, 5 Oct 2016 18:45:08 +0200 Subject: Remove dead code --- src/randart.cc | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'src/randart.cc') diff --git a/src/randart.cc b/src/randart.cc index 7a6b2398..698be95b 100644 --- a/src/randart.cc +++ b/src/randart.cc @@ -26,10 +26,8 @@ #include /* Chance of using syllables to form the name instead of the "template" files */ -#define TABLE_NAME 45 #define A_CURSED 13 #define WEIRD_LUCK 12 -#define ACTIVATION_CHANCE 3 /* * Attempt to add a power to a randart @@ -115,24 +113,6 @@ static bool_ grab_one_power(int *ra_idx, object_type *o_ptr, bool_ good, s16b *m return (ret); } -void give_activation_power (object_type * o_ptr) -{ - o_ptr->xtra2 = 0; - o_ptr->art_flags &= ~TR_ACTIVATE; - o_ptr->timeout = 0; -} - - -int get_activation_power() -{ - object_type *o_ptr, forge; - - o_ptr = &forge; - - give_activation_power(o_ptr); - - return o_ptr->xtra2; -} #define MIN_NAME_LEN 5 #define MAX_NAME_LEN 9 -- cgit v1.2.3