From 8e13db80439afe0049223cdbd44da9724fad84aa Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Mon, 23 Feb 2015 09:12:00 +0100 Subject: Remove dead code --- src/cave.cc | 26 -------------------------- src/externs.h | 1 - 2 files changed, 27 deletions(-) (limited to 'src') diff --git a/src/cave.cc b/src/cave.cc index 679af3ba..8d78a757 100644 --- a/src/cave.cc +++ b/src/cave.cc @@ -3832,32 +3832,6 @@ void update_mon_lite(void) static int flow_n = 0; -/* - * Hack -- forget the "flow" information - */ -void forget_flow(void) -{ - int x, y; - - /* Nothing to forget */ - if (!flow_n) return; - - /* Check the entire dungeon */ - for (y = 0; y < cur_hgt; y++) - { - for (x = 0; x < cur_wid; x++) - { - /* Forget the old data */ - cave[y][x].cost = 0; - cave[y][x].when = 0; - } - } - - /* Start over */ - flow_n = 0; -} - - /* * Hack -- Allow us to treat the "seen" array as a queue */ diff --git a/src/externs.h b/src/externs.h index 637f76af..a8c7beca 100644 --- a/src/externs.h +++ b/src/externs.h @@ -498,7 +498,6 @@ extern void forget_view(void); extern void update_view(void); extern void forget_mon_lite(void); extern void update_mon_lite(void); -extern void forget_flow(void); extern void update_flow(void); extern void map_area(void); extern void wiz_lite(void); -- cgit v1.2.3