summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cave.cc26
-rw-r--r--src/externs.h1
2 files changed, 0 insertions, 27 deletions
diff --git a/src/cave.cc b/src/cave.cc
index 679af3ba..8d78a757 100644
--- a/src/cave.cc
+++ b/src/cave.cc
@@ -3833,32 +3833,6 @@ 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
*/
static int flow_head = 0;
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);