diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-08 16:01:04 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-08 16:01:04 +0000 |
commit | 9855f61a84eb903023abc21be286d74d8857b58d (patch) | |
tree | 7e5198f96eb8284e0abc2d18196238798e7a3161 /crawl-ref/source/xom.cc | |
parent | 33199ca0b4dd31e06e643b8bb33b3c59de2a4d96 (diff) | |
download | crawl-ref-9855f61a84eb903023abc21be286d74d8857b58d.tar.gz crawl-ref-9855f61a84eb903023abc21be286d74d8857b58d.zip |
Clean up dancing_weapon().
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5594 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/xom.cc')
-rw-r--r-- | crawl-ref/source/xom.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/xom.cc b/crawl-ref/source/xom.cc index ef3d73de5c..88e8bb6db0 100644 --- a/crawl-ref/source/xom.cc +++ b/crawl-ref/source/xom.cc @@ -27,7 +27,7 @@ #include "player.h" #include "randart.h" #include "religion.h" -#include "spells3.h" +#include "spells2.h" #include "spl-cast.h" #include "spl-util.h" #include "state.h" @@ -877,8 +877,9 @@ static bool xom_is_bad(int sever) { bool success = false; + // Nasty, but fun. if (one_chance_in(4)) - success = dancing_weapon(100, true, true); // Nasty, but fun. + success = dancing_weapon(100, true, true, true); else { const int numdemons = |