summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source')
-rw-r--r--crawl-ref/source/acr.cc3
-rw-r--r--crawl-ref/source/item_use.cc2
-rw-r--r--crawl-ref/source/misc.cc7
-rw-r--r--crawl-ref/source/place.cc3
4 files changed, 12 insertions, 3 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc
index b868e61bee..020bc11f50 100644
--- a/crawl-ref/source/acr.cc
+++ b/crawl-ref/source/acr.cc
@@ -3760,7 +3760,8 @@ static void move_player(int move_x, int move_y)
{
you.time_taken *= player_movement_speed();
you.time_taken /= 10;
- move_player_to_grid(targ_x, targ_y, true, false, swap);
+ if (!move_player_to_grid(targ_x, targ_y, true, false, swap))
+ return;
if (you.mutation[MUT_DRIFTING]
&& (random2(100) <= you.mutation[MUT_DRIFTING] * 5) )
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index b51767562d..0e058e912e 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -3772,7 +3772,7 @@ void read_scroll(void)
torment( TORMENT_SCROLL, you.x_pos, you.y_pos );
// is only naughty if you know you're doing it
- if (!item_type_known(scroll))
+ if (item_type_known(scroll))
did_god_conduct(DID_UNHOLY, 10);
break;
diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc
index 3328530bd4..24e3d1737a 100644
--- a/crawl-ref/source/misc.cc
+++ b/crawl-ref/source/misc.cc
@@ -1306,7 +1306,12 @@ std::string level_description_string()
return "- a Labyrinth";
if (you.level_type == LEVEL_PORTAL_VAULT)
- return "- a Portal Chamber";
+ {
+ if (you.level_type_name == "bazaar")
+ return "- a Bazaar";
+
+ return "- a Portal Chamber";
+ }
// level_type == LEVEL_DUNGEON
char buf[200];
diff --git a/crawl-ref/source/place.cc b/crawl-ref/source/place.cc
index 7e469b4b28..fc89dbd60b 100644
--- a/crawl-ref/source/place.cc
+++ b/crawl-ref/source/place.cc
@@ -87,6 +87,9 @@ std::string place_name( unsigned short place, bool long_name,
case LEVEL_LABYRINTH:
return ( long_name ? "a Labyrinth" : "Lab" );
case LEVEL_PORTAL_VAULT:
+ if ( you.level_type_name == "bazaar" )
+ return ( long_name ? "a Bazaar" : "Bazaar" );
+
return ( long_name ? "a Portal Chamber" : "Port" );
default:
return ( long_name ? "Buggy Badlands" : "Bug" );