summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/luadgn.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-01 11:19:26 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-01 11:19:26 +0000
commit2b3c8ea80b120c791882a8391292dbdec5333664 (patch)
tree842d034411b9758ab774763f491f2129429bfa39 /crawl-ref/source/luadgn.cc
parent5e974fc5a77504a7af9b6ee35d4a8fe19f8ef0c3 (diff)
downloadcrawl-ref-2b3c8ea80b120c791882a8391292dbdec5333664.tar.gz
crawl-ref-2b3c8ea80b120c791882a8391292dbdec5333664.zip
Level updates collated by David.
Fixed DEPTH: not being read correctly, added more map validation. Increased attack speed of ice statues. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1704 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/luadgn.cc')
-rw-r--r--crawl-ref/source/luadgn.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/luadgn.cc b/crawl-ref/source/luadgn.cc
index 85b0aeaaa7..d76005102d 100644
--- a/crawl-ref/source/luadgn.cc
+++ b/crawl-ref/source/luadgn.cc
@@ -297,7 +297,7 @@ static void dgn_add_depths(depth_ranges &drs, lua_State *ls, int s, int e)
{
const char *depth = luaL_checkstring(ls, i);
std::vector<std::string> frags = split_string(",", depth);
- for (int j = 0, size = frags.size(); i < size; ++i)
+ for (int j = 0, size = frags.size(); j < size; ++j)
{
try
{