summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/travel.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-09-12 14:44:16 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-09-12 14:44:16 +0000
commit7fd519911a9007b617b873d4690159d65ca2dd96 (patch)
treed52fe255b14d5388e7bae7f8761e898fedb8efd8 /crawl-ref/source/travel.cc
parent7c230030738f1d67c341aa2c24afcb231f14c3be (diff)
downloadcrawl-ref-7fd519911a9007b617b873d4690159d65ca2dd96.tar.gz
crawl-ref-7fd519911a9007b617b873d4690159d65ca2dd96.zip
Another change to how bazaars look.
All floor squares around shops (in bazaars) get coloured yellow. (David likened this to light flooding the street.) Lava on red floor get converted to water, and deep water on blue floor is substituted by lava or shallow water. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2074 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/travel.cc')
-rw-r--r--crawl-ref/source/travel.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/travel.cc b/crawl-ref/source/travel.cc
index a5f16a51d3..67e9d656b4 100644
--- a/crawl-ref/source/travel.cc
+++ b/crawl-ref/source/travel.cc
@@ -520,6 +520,7 @@ void initialise_travel()
{
// Need a better way to do this. :-(
traversable_terrain[DNGN_FLOOR] =
+ traversable_terrain[DNGN_FLOOR_SPECIAL] =
traversable_terrain[DNGN_ENTER_HELL] =
traversable_terrain[DNGN_OPEN_DOOR] =
traversable_terrain[DNGN_UNDISCOVERED_TRAP] =
@@ -3558,6 +3559,9 @@ static char base_grid_type( char grid )
if (grid == DNGN_UNDISCOVERED_TRAP)
return (DNGN_FLOOR);
+ if (grid == DNGN_FLOOR_SPECIAL)
+ return (DNGN_FLOOR);
+
// Or secret doors (which currently always look like rock walls):
if (grid == DNGN_SECRET_DOOR)
return (DNGN_ROCK_WALL);