From 7fce9b7324c77c16c310e76a6d697e6f84fc9398 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sun, 15 Jun 2008 11:32:54 +0000 Subject: Fix 1948131: Quiver slot name wraps around the screen. Also fixes tile issues where the inventory was partly covered or not shown at all. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5844 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/dungeon.cc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'crawl-ref/source/dungeon.cc') diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc index 4f75b55a7a..83e412f529 100644 --- a/crawl-ref/source/dungeon.cc +++ b/crawl-ref/source/dungeon.cc @@ -2354,8 +2354,8 @@ static bool _shaft_is_in_corridor(int x, int y) return (true); } - // No corridor (found). - return false; + // No corridor found. + return (false); } static void _place_traps(int level_number) @@ -2437,8 +2437,8 @@ static void _place_fog_machines(int level_number) break; place_fog_machine(data, x, y); - } // end "for i" -} // end place_traps() + } +} static void _place_specific_feature(dungeon_feature_type feat) { @@ -7233,13 +7233,13 @@ bool place_specific_trap(int spec_x, int spec_y, trap_type spec_type) if (env.trap[tcount].type == TRAP_UNASSIGNED) { env.trap[tcount].type = spec_type; - env.trap[tcount].x = spec_x; - env.trap[tcount].y = spec_y; - grd[spec_x][spec_y] = DNGN_UNDISCOVERED_TRAP; - return true; + env.trap[tcount].x = spec_x; + env.trap[tcount].y = spec_y; + grd[spec_x][spec_y] = DNGN_UNDISCOVERED_TRAP; + return (true); } - return false; + return (false); } static void _build_river( dungeon_feature_type river_type ) //mv -- cgit v1.2.3-54-g00ecf