summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mapdef.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-05 14:49:52 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-05 14:49:52 +0000
commita3ed7b6290c0b2ed92590fe4021a451886af85a1 (patch)
treea294d8dceab0ceda9420b96c73f4adad99746b0d /crawl-ref/source/mapdef.cc
parent8d230ac236d999741e99f427634f908a8fd8452d (diff)
downloadcrawl-ref-a3ed7b6290c0b2ed92590fe4021a451886af85a1.tar.gz
crawl-ref-a3ed7b6290c0b2ed92590fe4021a451886af85a1.zip
Updated build instructions for DOS, Windows, Linux.
Fixed targeting for Sandblast, Bone Shards, verified that targeting works okay for all spells (woof). Updated level layouts with more random features (David). Made makefile.unix default to using flex instead of lex. Tweaked beam names for dragon breath. s/Paralyze/Paralyse/ Don't show current target for direction-only targeting. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1222 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mapdef.cc')
-rw-r--r--crawl-ref/source/mapdef.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/mapdef.cc b/crawl-ref/source/mapdef.cc
index c20760cd6e..6a8a79802a 100644
--- a/crawl-ref/source/mapdef.cc
+++ b/crawl-ref/source/mapdef.cc
@@ -97,8 +97,8 @@ static std::string split_key_item(const std::string &s,
std::string *arg)
{
std::string::size_type
- norm = s.find("="),
- fixe = s.find(":");
+ norm = s.find("=", 1),
+ fixe = s.find(":", 1);
const std::string::size_type sep = norm < fixe? norm : fixe;
if (sep == std::string::npos)