summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-10-14 14:16:55 +0200
committerAdam Borowski <kilobyte@angband.pl>2009-10-14 14:16:55 +0200
commit8a134b6ef9aefd2facbc62c650976a8942d57729 (patch)
tree2aa60512bb14cb3aacca3f1ef223b9de2c4f4435 /crawl-ref/source/dungeon.cc
parentfb3daeef1a7ce56f42831a9477a7f8e7f07f11b1 (diff)
downloadcrawl-ref-8a134b6ef9aefd2facbc62c650976a8942d57729.tar.gz
crawl-ref-8a134b6ef9aefd2facbc62c650976a8942d57729.zip
Remove deprecated map glyphs: S, H, Z.
Diffstat (limited to 'crawl-ref/source/dungeon.cc')
-rw-r--r--crawl-ref/source/dungeon.cc18
1 files changed, 1 insertions, 17 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc
index 1a22de6180..91842b35c3 100644
--- a/crawl-ref/source/dungeon.cc
+++ b/crawl-ref/source/dungeon.cc
@@ -4984,7 +4984,6 @@ static void _vault_grid( vault_placement &place,
case '*':
case '|':
case 'O': // definite rune
- case 'Z': // definite orb
{
int item_made = NON_ITEM;
object_class_type which_class = OBJ_RANDOM;
@@ -5002,11 +5001,6 @@ static void _vault_grid( vault_placement &place,
which_class = OBJ_RANDOM;
which_type = OBJ_RANDOM;
}
- else if (vgrid == 'Z')
- {
- which_class = OBJ_ORBS;
- which_type = ORB_ZOT;
- }
else if (vgrid == '|' || (vgrid == 'O' && place.num_runes > 0))
{
which_class = RANDOM_ELEMENT(_acquirement_item_classes);
@@ -5045,7 +5039,7 @@ static void _vault_grid( vault_placement &place,
}
which_depth = place.level_number;
- if (vgrid == '|' || vgrid == 'O' || vgrid == 'Z')
+ if (vgrid == '|' || vgrid == 'O')
which_depth = MAKE_GOOD_ITEM;
else if (vgrid == '*')
which_depth = 5 + (place.level_number * 2);
@@ -5065,16 +5059,6 @@ static void _vault_grid( vault_placement &place,
if (vgrid >= 'd' && vgrid <= 'k')
_dgn_place_item_explicit(vgrid - 'd', where, place, place.level_number);
- if (vgrid == 'S' || vgrid == 'H')
- {
- const monster_type mtype = ((vgrid == 'H') ? MONS_ORANGE_STATUE
- : MONS_SILVER_STATUE);
-
- grd(where) = DNGN_FLOOR;
-
- create_monster(mgen_data::hostile_at(mtype, where));
- }
-
// Finally, handle grids that place monsters {dlb}:
if (vgrid >= '0' && vgrid <= '9')
{