summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/chardump.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-08 14:23:03 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-08 14:46:22 +0100
commit28f6c800df6bc63658b9c79e803bf81ac282aa1d (patch)
treedf593b87768f0324939f89ed6f4d7aea8c950de4 /crawl-ref/source/chardump.cc
parenta4eda3c37bb9ec6d9b847e827390a66062229b99 (diff)
downloadcrawl-ref-28f6c800df6bc63658b9c79e803bf81ac282aa1d.tar.gz
crawl-ref-28f6c800df6bc63658b9c79e803bf81ac282aa1d.zip
Split map knowledge and FPROPs.
map_cell no longer has the field "properties", which has been replaced by the unsigned long array env.pgrid. env.map has been renamed to env.map_knowledge. It should really be moved into player.
Diffstat (limited to 'crawl-ref/source/chardump.cc')
-rw-r--r--crawl-ref/source/chardump.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/chardump.cc b/crawl-ref/source/chardump.cc
index f1ccd1edcb..fbbeb77e76 100644
--- a/crawl-ref/source/chardump.cc
+++ b/crawl-ref/source/chardump.cc
@@ -1289,7 +1289,7 @@ void dump_map(FILE *fp, bool debug)
for (int i = X_BOUND_1; i <= X_BOUND_2; i++)
for (int j = Y_BOUND_1; j <= Y_BOUND_2; j++)
- if (env.map[i][j].known())
+ if (env.map_knowledge[i][j].known())
{
if (i > max_x) max_x = i;
if (i < min_x) min_x = i;
@@ -1300,7 +1300,7 @@ void dump_map(FILE *fp, bool debug)
for (int y = min_y; y <= max_y; ++y)
{
for (int x = min_x; x <= max_x; ++x)
- fputc( env.map[x][y].glyph(), fp );
+ fputc( env.map_knowledge[x][y].glyph(), fp );
fputc('\n', fp);
}