summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/effects.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-09-20 11:51:22 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-09-20 11:51:22 +0000
commit9b5bc8fd4f63dda5b587ab08b634d4f9cdf20a06 (patch)
tree0921a7194a4d72c4e60c148e48df8a45d9783b66 /crawl-ref/source/effects.cc
parent64707c2d565008f6c5fea165df96bc4c4c9e4be0 (diff)
downloadcrawl-ref-9b5bc8fd4f63dda5b587ab08b634d4f9cdf20a06.tar.gz
crawl-ref-9b5bc8fd4f63dda5b587ab08b634d4f9cdf20a06.zip
Previous commit applied to trunk:
* cleanup of weird_colour() * hooves mutation one level only * fixes for vampire food level checks * Xom gifts interrupt travel git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2164 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/effects.cc')
-rw-r--r--crawl-ref/source/effects.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index bf9753216a..604e3f852a 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -387,7 +387,7 @@ void random_uselessness(unsigned char ru, unsigned char sc_read_2)
switch (ru)
{
case 0:
- msg::stream << "The dust glows a " << weird_colours(random2(256))
+ msg::stream << "The dust glows a " << weird_glow_colour()
<< " colour!" << std::endl;
break;
@@ -400,7 +400,7 @@ void random_uselessness(unsigned char ru, unsigned char sc_read_2)
if (you.equip[EQ_WEAPON] != -1)
{
msg::stream << you.inv[you.equip[EQ_WEAPON]].name(DESC_CAP_YOUR)
- << " glows " << weird_colours(random2(256))
+ << " glows " << weird_glow_colour()
<< " for a moment." << std::endl;
}
else