diff options
author | pubby <pubby8@gmail.com> | 2014-02-02 09:40:35 -0600 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2014-02-02 12:21:09 -0500 |
commit | 4035d9372d4656fa6a2a8e78cd61d2e99f82fac3 (patch) | |
tree | 85e9fc5eff644d914ba0a7a21c2d4a776d19e0f3 /crawl-ref/source/dgn-irregular-box.cc | |
parent | fca55e514a9e92b73664eee87767e8f8a143e971 (diff) | |
download | crawl-ref-4035d9372d4656fa6a2a8e78cd61d2e99f82fac3.tar.gz crawl-ref-4035d9372d4656fa6a2a8e78cd61d2e99f82fac3.zip |
Fix make_irregular_box door glyph.
It was always using '+' instead of the door_glyph parameter.
Diffstat (limited to 'crawl-ref/source/dgn-irregular-box.cc')
-rw-r--r-- | crawl-ref/source/dgn-irregular-box.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/dgn-irregular-box.cc b/crawl-ref/source/dgn-irregular-box.cc index 8b884d4be7..ab0c77b32c 100644 --- a/crawl-ref/source/dgn-irregular-box.cc +++ b/crawl-ref/source/dgn-irregular-box.cc @@ -575,7 +575,7 @@ void make_irregular_box(map_lines& map, int x1, int y1, int x2, int y2, for (int i = 0; i < door_count && !wall_cells.empty(); i++) { unsigned int index = random2(wall_cells.size()); - new_glyphs[wall_cells[index].x][wall_cells[index].y] = '+'; + new_glyphs[wall_cells[index].x][wall_cells[index].y] = door_glyph; wall_cells[index] = wall_cells.back(); wall_cells.pop_back(); } |