From fef2c6f0696e212e10378720a72be2f8999641a3 Mon Sep 17 00:00:00 2001 From: Jude Brown Date: Wed, 16 Dec 2009 18:15:31 +1000 Subject: 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. --- crawl-ref/source/mapdef.cc | 3 --- 1 file changed, 3 deletions(-) (limited to 'crawl-ref/source/mapdef.cc') 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)) { -- cgit v1.2.3-54-g00ecf