diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-01 01:55:53 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-01 01:55:53 +0000 |
commit | 1c8fbc7467560766775fe9aba26261031f47c16e (patch) | |
tree | 318e5f19799ac7cd1c1f45c8d092a9f57d182690 /crawl-ref/source/effects.cc | |
parent | 62d953c65b657eca6880483b8b4382aba66e45ac (diff) | |
download | crawl-ref-1c8fbc7467560766775fe9aba26261031f47c16e.tar.gz crawl-ref-1c8fbc7467560766775fe9aba26261031f47c16e.zip |
Outsource weird sounds.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5386 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/effects.cc')
-rw-r--r-- | crawl-ref/source/effects.cc | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc index bbaa21426a..7c0ebe9868 100644 --- a/crawl-ref/source/effects.cc +++ b/crawl-ref/source/effects.cc @@ -787,17 +787,7 @@ void random_uselessness(unsigned char ru, unsigned char sc_read_2) break; case 8: - temp_rand = random2(9); - mprf("You hear %s.", - (temp_rand == 0) ? "snatches of song" : - (temp_rand == 1) ? "a voice call someone else's name" : - (temp_rand == 2) ? "a very strange noise" : - (temp_rand == 3) ? "roaring flame" : - (temp_rand == 4) ? "a very strange noise indeed" : - (temp_rand == 5) ? "the chiming of a distant gong" : - (temp_rand == 6) ? "the bellowing of a yak" : - (temp_rand == 7) ? "a crunching sound" - : "the tinkle of an enormous bell"); + mprf("You hear %s.", weird_sound().c_str()); break; } } |