diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-08 02:56:15 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-08 02:56:15 +0000 |
commit | ee86f1b5fa2d52e9c936cd8ebd17eeda525474dc (patch) | |
tree | e367945798318e10109ff276f1b24be5f510b638 /crawl-ref | |
parent | aa81a23dd84ce7019956684a2d9010ccc7804f78 (diff) | |
download | crawl-ref-ee86f1b5fa2d52e9c936cd8ebd17eeda525474dc.tar.gz crawl-ref-ee86f1b5fa2d52e9c936cd8ebd17eeda525474dc.zip |
Simplify again.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5573 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/spells2.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc index 6168382ff8..c40f26dcf5 100644 --- a/crawl-ref/source/spells2.cc +++ b/crawl-ref/source/spells2.cc @@ -2025,12 +2025,9 @@ bool cast_summon_ugly_thing(int pow, bool god_gift) bool cast_summon_greater_demon(int pow, bool god_gift) { - bool charmed = (random2(pow) > 5); - mpr("You open a gate to Pandemonium!"); - bool success = _summon_demon_class_wrapper(pow, god_gift, DEMON_GREATER, - 5, false, charmed); + bool success = summon_greater_demon(pow, god_gift); if (!success) canned_msg(MSG_NOTHING_HAPPENS); |