diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-23 03:40:42 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-23 03:40:42 +0000 |
commit | 189d650ca274ab83c4fe3902e5d4e1bdf49dad4e (patch) | |
tree | a60a6519e9b00f763c9582c3f8704b016be1178c /crawl-ref/source/xom.cc | |
parent | 52344dd9f48be7c1c9a4bb74a2c28106e5617dcd (diff) | |
download | crawl-ref-189d650ca274ab83c4fe3902e5d4e1bdf49dad4e.tar.gz crawl-ref-189d650ca274ab83c4fe3902e5d4e1bdf49dad4e.zip |
For Xom, use the "No, never mind." failure message instead of the canned
failure message.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6069 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/xom.cc')
-rw-r--r-- | crawl-ref/source/xom.cc | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/crawl-ref/source/xom.cc b/crawl-ref/source/xom.cc index f5061c07e5..d592368cee 100644 --- a/crawl-ref/source/xom.cc +++ b/crawl-ref/source/xom.cc @@ -204,15 +204,14 @@ static void _xom_makes_you_cast_random_spell(int sever) static void _xom_make_item(object_class_type base, int subtype, - int power, - const char *failmsg = "\"No, never mind.\"") + int power) { int thing_created = items(true, base, subtype, true, power, MAKE_ITEM_RANDOM_RACE); if (thing_created == NON_ITEM) { - god_speaks(GOD_XOM, failmsg); + god_speaks(GOD_XOM, "\"No, never mind.\""); return; } @@ -534,7 +533,7 @@ static bool _xom_is_good(int sever) delete[] monster; if (!success) - canned_msg(MSG_NOTHING_HAPPENS); + god_speaks(GOD_XOM, "\"No, never mind.\""); done = true; } @@ -584,7 +583,7 @@ static bool _xom_is_good(int sever) mgen_data(mon, beha, 6, you.pos(), hitting, 0, GOD_XOM)) == -1) { - canned_msg(MSG_NOTHING_HAPPENS); + god_speaks(GOD_XOM, "\"No, never mind.\""); } done = true; @@ -674,7 +673,7 @@ static bool _xom_is_good(int sever) beha, 0, you.pos(), hitting, 0, GOD_XOM)) == -1) { - canned_msg(MSG_NOTHING_HAPPENS); + god_speaks(GOD_XOM, "\"No, never mind.\""); } done = true; @@ -855,7 +854,7 @@ static bool _xom_is_bad(int sever) } if (!success) - canned_msg(MSG_NOTHING_HAPPENS); + god_speaks(GOD_XOM, "\"No, never mind.\""); } done = true; |