summaryrefslogtreecommitdiff
path: root/src/generate.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-02-05 19:22:46 +0100
committerBardur Arantsson <bardur@scientician.net>2016-02-05 19:22:46 +0100
commit959f8c09f32e6b431bc4f7af8d1a5c296cefdafe (patch)
tree39b93225f9a1ce47af5015bef347ef3166382185 /src/generate.cc
parentf099462e0ddb5e3304b06ea1d7727bd01d82453b (diff)
Remove unused dungeon_info_type::next
Diffstat (limited to 'src/generate.cc')
-rw-r--r--src/generate.cc22
1 files changed, 1 insertions, 21 deletions
diff --git a/src/generate.cc b/src/generate.cc
index b5733682..9fc71763 100644
--- a/src/generate.cc
+++ b/src/generate.cc
@@ -420,19 +420,6 @@ static void place_up_stairs(int y, int x)
/*
- * Convert existing terrain type to "down stairs" with dungeon changing.
- */
-static void place_magical_stairs(int y, int x, byte next)
-{
- cave_type *c_ptr = &cave[y][x];
-
- /* Create up stairs */
- cave_set_feat(y, x, FEAT_MORE);
- c_ptr->special = next;
-}
-
-
-/*
* Convert existing terrain type to "down stairs"
*/
static void place_down_stairs(int y, int x)
@@ -907,14 +894,7 @@ static void place_random_stairs(int y, int x)
}
else if (dun_level >= d_info[dungeon_type].maxdepth)
{
- if (d_info[dungeon_type].next)
- {
- place_magical_stairs(y, x, d_info[dungeon_type].next);
- }
- else
- {
- place_up_stairs(y, x);
- }
+ place_up_stairs(y, x);
}
else if (rand_int(100) < 50)
{