diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-05-26 22:32:56 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-05-26 23:06:32 +0200 |
commit | bf921ce40c648afa6cce0e783957b90a267d2478 (patch) | |
tree | cff0d3ceaf73b25e472cf51bed4de1bc1904f70d /crawl-ref/source/l_crawl.cc | |
parent | 30ce7e781b598f63a2ad7658e0487fc5087d1a6a (diff) | |
download | crawl-ref-bf921ce40c648afa6cce0e783957b90a267d2478.tar.gz crawl-ref-bf921ce40c648afa6cce0e783957b90a267d2478.zip |
Don't let people in tutorial use clua to change their skills/etc.
At that point, it's probably time to merge these with non-tutorial calls.
Diffstat (limited to 'crawl-ref/source/l_crawl.cc')
-rw-r--r-- | crawl-ref/source/l_crawl.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/l_crawl.cc b/crawl-ref/source/l_crawl.cc index 00d63aeb0e..b179ab357d 100644 --- a/crawl-ref/source/l_crawl.cc +++ b/crawl-ref/source/l_crawl.cc @@ -884,10 +884,6 @@ static const struct luaL_reg crawl_clib[] = { "call_dlua", crawl_call_dlua }, #endif - { "tutorial_hunger", crawl_tutorial_hunger }, - { "tutorial_skill", crawl_tutorial_skill }, - { "tutorial_hint", crawl_tutorial_hint }, - { NULL, NULL }, }; @@ -1029,6 +1025,10 @@ static const struct luaL_reg crawl_dlib[] = #endif { "make_name", crawl_make_name }, { "set_max_runes", _crawl_set_max_runes }, +{ "tutorial_hunger", crawl_tutorial_hunger }, +{ "tutorial_skill", crawl_tutorial_skill }, +{ "tutorial_hint", crawl_tutorial_hint }, + { NULL, NULL } }; |