summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/birth.c1
-rw-r--r--src/dungeon.c14
-rw-r--r--src/externs.h4
-rw-r--r--src/util.c3
-rw-r--r--src/variable.c5
5 files changed, 0 insertions, 27 deletions
diff --git a/src/birth.c b/src/birth.c
index 4734a189..c23e20b8 100644
--- a/src/birth.c
+++ b/src/birth.c
@@ -1911,7 +1911,6 @@ static bool_ player_birth_aux_ask()
/* Extra info */
Term_putstr(5, 16, -1, TERM_WHITE,
"Your 'race' determines various intrinsic factors and bonuses.");
- hack_corruption = FALSE;
/* Dump races */
sel = 0;
diff --git a/src/dungeon.c b/src/dungeon.c
index d13da812..9bcb6839 100644
--- a/src/dungeon.c
+++ b/src/dungeon.c
@@ -2271,11 +2271,6 @@ static void process_world(void)
(void)set_tim_invis(p_ptr->tim_invis - 1);
}
- if (multi_rew)
- {
- multi_rew = FALSE;
- }
-
/* Timed esp */
if (p_ptr->tim_esp)
{
@@ -4554,13 +4549,6 @@ void process_player(void)
/*** Apply energy ***/
- if (hack_corruption)
- {
- msg_print("You feel different!");
- (void)gain_random_corruption(0);
- hack_corruption = FALSE;
- }
-
/* Obtain current speed */
speed_use = p_ptr->pspeed;
@@ -5436,8 +5424,6 @@ void play_game(bool_ new_game)
bool_ cheat_death = FALSE;
- hack_corruption = FALSE;
-
/* Hack -- Character is "icky" */
character_icky = TRUE;
diff --git a/src/externs.h b/src/externs.h
index 19f43b50..0a6ebb35 100644
--- a/src/externs.h
+++ b/src/externs.h
@@ -161,7 +161,6 @@ extern byte graphics_mode;
extern u16b total_winner;
extern u16b has_won;
extern u16b noscore;
-extern s16b signal_count;
extern bool_ inkey_base;
extern bool_ inkey_xtra;
extern bool_ inkey_scan;
@@ -172,7 +171,6 @@ extern bool_ shimmer_monsters;
extern bool_ shimmer_objects;
extern bool_ repair_monsters;
extern bool_ repair_objects;
-extern s16b inven_nxt;
extern s16b inven_cnt;
extern s16b equip_cnt;
extern s16b o_max;
@@ -184,10 +182,8 @@ extern s16b hack_m_idx_ii;
extern int total_friends;
extern s32b total_friend_levels;
extern int leaving_quest;
-extern bool_ multi_rew;
extern char summon_kin_type;
extern bool_ hack_mind;
-extern bool_ hack_corruption;
extern bool_ is_autosave;
extern int artifact_bias;
extern FILE *text_out_file;
diff --git a/src/util.c b/src/util.c
index 019ec6da..e73dbce3 100644
--- a/src/util.c
+++ b/src/util.c
@@ -1929,9 +1929,6 @@ char inkey(void)
/* Mega-Hack -- reset saved flag */
character_saved = FALSE;
- /* Mega-Hack -- reset signal counter */
- signal_count = 0;
-
/* Only once */
done = TRUE;
}
diff --git a/src/variable.c b/src/variable.c
index 417fb975..11f0867b 100644
--- a/src/variable.c
+++ b/src/variable.c
@@ -132,8 +132,6 @@ u16b has_won; /* Semi-Hack -- Game has been won */
u16b noscore; /* Track various "cheating" conditions */
-s16b signal_count; /* Hack -- Count interupts */
-
bool_ inkey_base; /* See the "inkey()" function */
bool_ inkey_xtra; /* See the "inkey()" function */
bool_ inkey_scan; /* See the "inkey()" function */
@@ -149,9 +147,7 @@ bool_ shimmer_objects; /* Hack -- optimize multi-hued objects */
bool_ repair_monsters; /* Hack -- optimize detect monsters */
bool_ repair_objects; /* Hack -- optimize detect objects */
-s16b inven_nxt; /* Hack -- unused */
bool_ hack_mind;
-bool_ hack_corruption;
int artifact_bias;
bool_ is_autosave = FALSE;
@@ -166,7 +162,6 @@ s16b m_cnt = 0; /* Number of live monsters */
s16b hack_m_idx = 0; /* Hack -- see "process_monsters()" */
s16b hack_m_idx_ii = 0;
-bool_ multi_rew = FALSE;
char summon_kin_type; /* Hack, by Julian Lighton: summon 'relatives' */
int total_friends = 0;