diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-05-26 22:39:31 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-05-26 23:06:32 +0200 |
commit | 904c7319a166a002bf156cd704fd819ce282640d (patch) | |
tree | cf6618f4eb43a96f154d9ddeb8bd3e5cca48a42d /crawl-ref/source/l_crawl.cc | |
parent | bf921ce40c648afa6cce0e783957b90a267d2478 (diff) | |
download | crawl-ref-904c7319a166a002bf156cd704fd819ce282640d.tar.gz crawl-ref-904c7319a166a002bf156cd704fd819ce282640d.zip |
Move dgn.mark_game_won() to crawl., it's not related to map generation.
Diffstat (limited to 'crawl-ref/source/l_crawl.cc')
-rw-r--r-- | crawl-ref/source/l_crawl.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/l_crawl.cc b/crawl-ref/source/l_crawl.cc index b179ab357d..34142ec829 100644 --- a/crawl-ref/source/l_crawl.cc +++ b/crawl-ref/source/l_crawl.cc @@ -1013,6 +1013,8 @@ LUAFN(_crawl_set_max_runes) return (0); } +LUAWRAP(_crawl_mark_game_won, crawl_state.mark_last_game_won()) + static const struct luaL_reg crawl_dlib[] = { { "args", _crawl_args }, @@ -1028,6 +1030,7 @@ static const struct luaL_reg crawl_dlib[] = { "tutorial_hunger", crawl_tutorial_hunger }, { "tutorial_skill", crawl_tutorial_skill }, { "tutorial_hint", crawl_tutorial_hint }, +{ "mark_game_won", _crawl_mark_game_won }, { NULL, NULL } }; |