diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-09 12:44:48 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-09 12:44:48 +0000 |
commit | b5e9ab44fd03d488791592f447c3b787b49b2d37 (patch) | |
tree | e5d622a784dad678d9698a63000bdb890b23cf42 /crawl-ref/source/player.cc | |
parent | d59655f1d4249575c1ffa8d1102446eef5d6728f (diff) | |
download | crawl-ref-b5e9ab44fd03d488791592f447c3b787b49b2d37.tar.gz crawl-ref-b5e9ab44fd03d488791592f447c3b787b49b2d37.zip |
Fix level map, and travel, knowing too much about the level. Hopefully
this didn't break anything which travel depends on.
Fixes [2051248].
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9012 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 57f1809db3..753fdc7a0b 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -2944,7 +2944,7 @@ void forget_map(unsigned char chance_forgotten, bool force) { env.map(*ri).clear(); #ifdef USE_TILE - set_envmap_obj(*ri, 0); + set_envmap_obj(*ri, DNGN_UNSEEN); tiles.update_minimap(ri->x, ri->y); env.tile_bk_fg[ri->x][ri->y] = 0; env.tile_bk_bg[ri->x][ri->y] |