From 7cc66e61e50963ba90a5db8db19cf75890d3c733 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Mon, 8 Dec 2008 21:53:05 +0000 Subject: Apply more commits into 0.4 branch, again mostly by Haran: 6950, 6954, 6959, 6962, 6963, 6965, 6968, 6970 (partly), 6997, 6998, 7001, 7061, 7065, 7071, 7132 (partly), 7174, 7186, 7213, 7233, 7268, 7268, 7293, 7319, 7339, 7358, 7393 (partly) * Tweak a few monster flags. * Fix autoswapping jewellery taking longer than manual swapping. * Fix crash when attempting to create nonexisting monster in wizmode. * Make ego armour descriptions follow abbreviation guidelines. * Fixed buggy monster movement away from the player. * Disabled traps in the Abyss. * Fixed a few other minor bugs, and improves messaging. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.4@7788 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/player.cc | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/player.cc') diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 8176cf067b..b552b652e8 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -3731,7 +3731,7 @@ void display_char_status() if (you.haloed()) { - int halo_size = halo_radius(); + const int halo_size = halo_radius(); if (halo_size > 6) mpr( "You are illuminated by a large divine halo." ); else if (halo_size > 3) @@ -3839,6 +3839,13 @@ void display_char_status() mpr("You are burdened."); else if (you.burden_state == BS_OVERLOADED) mpr("You are overloaded with stuff."); + else if (you.species == SP_KENKU && you.flight_mode() == FL_FLY) + { + if (you.travelling_light()) + mpr("Your small burden allows quick flight."); + else + mpr("Your heavy burden is slowing your flight."); + } if (you.duration[DUR_SAGE]) mprf("You are studying %s.", skill_name(you.sage_bonus_skill)); @@ -4174,8 +4181,8 @@ std::string species_name(species_type speci, int level, bool genus, bool adj, { switch (speci) { - case SP_MOUNTAIN_DWARF: res = "Mountain Dwarf"; break; - default: res = "Dwarf"; break; + case SP_MOUNTAIN_DWARF: res = "Mountain Dwarf"; break; + default: res = "Dwarf"; break; } } } -- cgit v1.2.3-54-g00ecf