From a3ed7b6290c0b2ed92590fe4021a451886af85a1 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Thu, 5 Apr 2007 14:49:52 +0000 Subject: 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 --- crawl-ref/source/mapdef.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/mapdef.cc') 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) -- cgit v1.2.3-54-g00ecf