From 61cae4a761c2f72cda44ae269c7007b37a0c14a7 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Thu, 26 Jun 2008 10:39:39 +0000 Subject: Misc. minor cleanups. (Yes, a huge amount of them but still...) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6146 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/tutorial.cc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'crawl-ref/source/tutorial.cc') diff --git a/crawl-ref/source/tutorial.cc b/crawl-ref/source/tutorial.cc index 3b0bf63551..803d7c4192 100644 --- a/crawl-ref/source/tutorial.cc +++ b/crawl-ref/source/tutorial.cc @@ -173,7 +173,7 @@ bool pick_tutorial() Options.random_pick = true; // random choice of starting spellbook Options.weapon = WPN_HAND_AXE; // easiest choice for fighters - return true; + return (true); } if (keyn == CK_BKSP || keyn == ' ') @@ -189,17 +189,17 @@ bool pick_tutorial() { case CK_BKSP: choose_race(); - return false; + return (false); case ' ': choose_class(); - return false; + return (false); case 'X': cprintf(EOL "Goodbye!"); end(0); - return false; + return (false); } } - return false; + return (false); } void print_tutorial_menu(unsigned int type) @@ -207,7 +207,7 @@ void print_tutorial_menu(unsigned int type) char letter = 'a' + type; char desc[100]; - switch(type) + switch (type) { case TUT_BERSERK_CHAR: strcpy(desc, "(Melee oriented character with divine support)"); @@ -3768,12 +3768,12 @@ bool tutorial_monster_interesting(const monsters *mons) return (true); // The monster is (seriously) out of depth. - if (you.level_type == LEVEL_DUNGEON && - mons_level(mons->type) >= you.your_level + 8) + if (you.level_type == LEVEL_DUNGEON + && mons_level(mons->type) >= you.your_level + 8) { return (true); } - return false; + return (false); } void tutorial_describe_monster(const monsters *mons) -- cgit v1.2.3-54-g00ecf