diff options
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/chardump.cc | 2 | ||||
-rw-r--r-- | crawl-ref/source/showsymb.cc | 9 | ||||
-rw-r--r-- | crawl-ref/source/showsymb.h | 1 |
3 files changed, 1 insertions, 11 deletions
diff --git a/crawl-ref/source/chardump.cc b/crawl-ref/source/chardump.cc index 0bd6768184..20100ace55 100644 --- a/crawl-ref/source/chardump.cc +++ b/crawl-ref/source/chardump.cc @@ -1274,7 +1274,7 @@ void dump_map(FILE *fp, bool debug) else if (grd[x][y] == DNGN_FLOOR_SPECIAL) fputc('?', fp); else - fputc(grid_character_at(coord_def(x,y)), fp); + fputc(get_feature_def(grd[x][y]).symbol, fp); } fputc('\n', fp); } diff --git a/crawl-ref/source/showsymb.cc b/crawl-ref/source/showsymb.cc index 858814664a..c2e67d171f 100644 --- a/crawl-ref/source/showsymb.cc +++ b/crawl-ref/source/showsymb.cc @@ -65,15 +65,6 @@ void get_show_symbol(show_type object, unsigned *ch, *colour = real_colour(*colour); } -unsigned grid_character_at(const coord_def &c) -{ - unsigned glych; - unsigned short glycol = 0; - - get_symbol(c, grd(c), &glych, &glycol); - return glych; -} - int get_mons_colour(const monsters *mons) { int col = mons->colour; diff --git a/crawl-ref/source/showsymb.h b/crawl-ref/source/showsymb.h index b44612ec40..85d1593523 100644 --- a/crawl-ref/source/showsymb.h +++ b/crawl-ref/source/showsymb.h @@ -18,7 +18,6 @@ unsigned get_screen_glyph( const coord_def &p ); int get_mons_colour(const monsters *mons); -unsigned grid_character_at(const coord_def &c); void get_symbol(const coord_def& where, show_type object, unsigned *ch, unsigned short *colour); |