diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-06 14:06:11 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-06 14:06:11 +0000 |
commit | 247ea07854e8c6781497b56db77df81c3ba9005f (patch) | |
tree | ca5630b29707862b5440b1906adc1c43bc16af44 /crawl-ref/source/spl-cast.cc | |
parent | 84b3d0494c5f10416d8ea3f6c30cb9cf6c439e6c (diff) | |
download | crawl-ref-247ea07854e8c6781497b56db77df81c3ba9005f.tar.gz crawl-ref-247ea07854e8c6781497b56db77df81c3ba9005f.zip |
Add spacing fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6423 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r-- | crawl-ref/source/spl-cast.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc index 225018a140..101bb46f19 100644 --- a/crawl-ref/source/spl-cast.cc +++ b/crawl-ref/source/spl-cast.cc @@ -1013,20 +1013,20 @@ spret_type your_spells(spell_type spell, int powc, bool allow_fail) const char *prompt = get_spell_target_prompt(spell); if (spell == SPELL_EVAPORATE) { - potion = prompt_invent_item( "Throw which potion?", - MT_INVLIST, OBJ_POTIONS ); + potion = prompt_invent_item("Throw which potion?", + MT_INVLIST, OBJ_POTIONS); if (potion == -1) return (SPRET_ABORT); else if (you.inv[potion].base_type != OBJ_POTIONS) { - mpr( "This spell works only on potions!" ); + mpr("This spell works only on potions!"); return (SPRET_ABORT); } mprf(MSGCH_PROMPT, "Where do you want to aim %s?", you.inv[potion].name(DESC_NOCAP_YOUR).c_str()); } else if (dir == DIR_DIR) - mpr(prompt? prompt : "Which direction? ", MSGCH_PROMPT); + mpr(prompt ? prompt : "Which direction? ", MSGCH_PROMPT); const bool needs_path = (!testbits(flags, SPFLAG_GRID) && !testbits(flags, SPFLAG_TARGET)); @@ -1034,7 +1034,7 @@ spret_type your_spells(spell_type spell, int powc, bool allow_fail) if (!spell_direction(spd, beam, dir, targ, needs_path, true, prompt)) return (SPRET_ABORT); - if (testbits( flags, SPFLAG_NOT_SELF ) && spd.isMe) + if (testbits(flags, SPFLAG_NOT_SELF) && spd.isMe) { if (spell == SPELL_TELEPORT_OTHER || spell == SPELL_HEAL_OTHER || spell == SPELL_POLYMORPH_OTHER || spell == SPELL_BANISHMENT) @@ -1132,7 +1132,7 @@ spret_type your_spells(spell_type spell, int powc, bool allow_fail) } #if DEBUG_DIAGNOSTICS - mprf(MSGCH_DIAGNOSTICS, "Spell #%d, power=%d", spell, powc ); + mprf(MSGCH_DIAGNOSTICS, "Spell #%d, power=%d", spell, powc); #endif const god_type god = |