summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-02-23 09:12:00 +0100
committerBardur Arantsson <bardur@scientician.net>2015-02-23 09:12:00 +0100
commit8e13db80439afe0049223cdbd44da9724fad84aa (patch)
tree3d9b08837b2439a5a7c2cd3b93977fee772699dd
parent23edf9d415c28b7553f3f86a0a02e146c5a9e210 (diff)
Remove dead code
-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);