diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-31 23:58:42 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-31 23:58:42 +0000 |
commit | cad4cc6c23e8b75c9773cdc271b8c026db9a93ee (patch) | |
tree | 8bb6a814817d9d3e9c12f9c50d8aeb97a297b26d /crawl-ref/source/spells3.cc | |
parent | 6104840f98e267373586f884ce0889361b5be26a (diff) | |
download | crawl-ref-cad4cc6c23e8b75c9773cdc271b8c026db9a93ee.tar.gz crawl-ref-cad4cc6c23e8b75c9773cdc271b8c026db9a93ee.zip |
Add yet more whitespace fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3998 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r-- | crawl-ref/source/spells3.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc index 8acbea1810..f5c1caa59d 100644 --- a/crawl-ref/source/spells3.cc +++ b/crawl-ref/source/spells3.cc @@ -346,7 +346,7 @@ void sublimation(int power) else // no appropriate item wielded wielded = -1; } - + if (wielded == -1) { if (you.duration[DUR_DEATHS_DOOR]) @@ -385,7 +385,7 @@ void sublimation(int power) // Simulacrum // // This spell extends creating undead to Ice mages, as such it's high -// level, requires wielding of the material component, and the undead +// level, requires wielding of the material component, and the undead // aren't overly powerful (they're also vulnerable to fire). I've put // back the abjuration level in order to keep down the army sizes again. // @@ -476,12 +476,12 @@ void dancing_weapon(int pow, bool force_hostile) // cursed weapons become hostile if (item_cursed( you.inv[wpn] ) || force_hostile) - behavi = BEH_HOSTILE; - - summs = create_monster( MONS_DANCING_WEAPON, numsc, behavi, + behavi = BEH_HOSTILE; + + summs = create_monster( MONS_DANCING_WEAPON, numsc, behavi, you.x_pos, you.y_pos, you.pet_target, 1 ); if ( summs == -1 ) - failed = true; + failed = true; } if ( failed ) |