summaryrefslogtreecommitdiff
path: root/src/cave.cc
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 /src/cave.cc
parent23edf9d415c28b7553f3f86a0a02e146c5a9e210 (diff)
Remove dead code
Diffstat (limited to 'src/cave.cc')
-rw-r--r--src/cave.cc26
1 files changed, 0 insertions, 26 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;