summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mapdef.cc
diff options
context:
space:
mode:
authorJude Brown <bookofjude@users.sourceforge.net>2009-12-16 18:15:31 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2009-12-16 18:15:31 +1000
commitfef2c6f0696e212e10378720a72be2f8999641a3 (patch)
treeadfbd77a5a43d0cfaebc4a90e1fa65a0da36e73d /crawl-ref/source/mapdef.cc
parent349da9e285fc1924b8365314285300f2e52e5b23 (diff)
downloadcrawl-ref-fef2c6f0696e212e10378720a72be2f8999641a3.tar.gz
crawl-ref-fef2c6f0696e212e10378720a72be2f8999641a3.zip
Tweak 'tile:' specifier for monsters.
No longer automatically prepends 'mons_', as this is not a standard. Instead, generates an error for invalid tiles. Update documentation and uses.
Diffstat (limited to 'crawl-ref/source/mapdef.cc')
-rw-r--r--crawl-ref/source/mapdef.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/crawl-ref/source/mapdef.cc b/crawl-ref/source/mapdef.cc
index e548cf3389..493e79bb91 100644
--- a/crawl-ref/source/mapdef.cc
+++ b/crawl-ref/source/mapdef.cc
@@ -3180,9 +3180,6 @@ mons_list::mons_spec_slot mons_list::parse_mons_spec(std::string spec)
#ifdef USE_TILE
if (!tile.empty())
{
- // Modify the string to prevent them from using non-mons tiles.
- if (tile.find("mons_") == std::string::npos)
- tile = std::string("mons_" + tile);
unsigned int index;
if (!tile_player_index(tile.c_str(), index))
{