diff options
author | Bardur Arantsson <bardur@scientician.net> | 2015-02-23 09:12:00 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2015-02-23 09:12:00 +0100 |
commit | 8e13db80439afe0049223cdbd44da9724fad84aa (patch) | |
tree | 3d9b08837b2439a5a7c2cd3b93977fee772699dd /src/cave.cc | |
parent | 23edf9d415c28b7553f3f86a0a02e146c5a9e210 (diff) |
Remove dead code
Diffstat (limited to 'src/cave.cc')
-rw-r--r-- | src/cave.cc | 26 |
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; |