summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-15 11:32:54 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-15 11:32:54 +0000
commit7fce9b7324c77c16c310e76a6d697e6f84fc9398 (patch)
tree061bcb63c57c1281473a289e22041cb93259feca /crawl-ref/source/dungeon.cc
parentead36b3ba490fb199815ccc048ba204e5bbee30e (diff)
downloadcrawl-ref-7fce9b7324c77c16c310e76a6d697e6f84fc9398.tar.gz
crawl-ref-7fce9b7324c77c16c310e76a6d697e6f84fc9398.zip
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
Diffstat (limited to 'crawl-ref/source/dungeon.cc')
-rw-r--r--crawl-ref/source/dungeon.cc18
1 files changed, 9 insertions, 9 deletions
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