summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/l_crawl.cc
diff options
context:
space:
mode:
authorelliptic <hyperelliptical@gmail.com>2012-08-22 16:09:25 -0400
committerelliptic <hyperelliptical@gmail.com>2012-08-22 18:28:30 -0400
commit49588e8b9b1c436404884013825e53e7a7797a96 (patch)
tree93aec56697de86122629b17c2c556ff61a116002 /crawl-ref/source/l_crawl.cc
parent1edff79cf6d2283ac05c1d7c8d942f5efb4643d7 (diff)
downloadcrawl-ref-49588e8b9b1c436404884013825e53e7a7797a96.tar.gz
crawl-ref-49588e8b9b1c436404884013825e53e7a7797a96.zip
Add a milestone for the first time each branch is exited.
Only applies to branches with more than one level, so it shouldn't be too many milestones. In order to get oplace to work correctly, the report_origin_level argument to mark_milestone() was made slightly more flexible.
Diffstat (limited to 'crawl-ref/source/l_crawl.cc')
-rw-r--r--crawl-ref/source/l_crawl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/l_crawl.cc b/crawl-ref/source/l_crawl.cc
index 73b47439e4..748fcbab20 100644
--- a/crawl-ref/source/l_crawl.cc
+++ b/crawl-ref/source/l_crawl.cc
@@ -915,7 +915,7 @@ LUAFN(_crawl_milestone)
{
mark_milestone(luaL_checkstring(ls, 1),
luaL_checkstring(ls, 2),
- lua_toboolean(ls, 3));
+ luaL_checkstring(ls, 3));
return 0;
}