summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/clua.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-12-01 22:01:25 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-12-01 22:01:25 +0000
commit5480f286fa2ed4a7b90cf65e5a3bc203b27c7d0e (patch)
tree44faa5eb68a8ee0a892ae506b0888417dc70cee2 /crawl-ref/source/clua.cc
parent0093b92f3f8bca2c89b9808fb27f223d857e6718 (diff)
downloadcrawl-ref-5480f286fa2ed4a7b90cf65e5a3bc203b27c7d0e.tar.gz
crawl-ref-5480f286fa2ed4a7b90cf65e5a3bc203b27c7d0e.zip
Nemelex abandonment now shuffles and unmarks all decks.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2962 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/clua.cc')
-rw-r--r--crawl-ref/source/clua.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/clua.cc b/crawl-ref/source/clua.cc
index be98456849..a823f21464 100644
--- a/crawl-ref/source/clua.cc
+++ b/crawl-ref/source/clua.cc
@@ -716,7 +716,7 @@ LUARET1(you_name, string, you.your_name)
LUARET1(you_race, string,
species_name(you.species, you.experience_level).c_str())
LUARET1(you_class, string, get_class_name(you.char_class))
-LUARET1(you_god, string, god_name(you.religion))
+LUARET1(you_god, string, god_name(you.religion).c_str())
LUARET1(you_good_god, boolean,
lua_isstring(ls, 1) ? is_good_god(str_to_god(lua_tostring(ls, 1)))
: is_good_god(you.religion))