summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/terrain.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-11-08 17:29:39 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-11-08 17:29:39 +0000
commit9f35f123b311ebb5c9e8465e3d1080577958c5b4 (patch)
tree1eb4bec30dd51bd46c3206ada6da74dfd8dfb6e4 /crawl-ref/source/terrain.cc
parent3bf9b714ff65b5ddfb27a318dae2d23baf34317a (diff)
downloadcrawl-ref-9f35f123b311ebb5c9e8465e3d1080577958c5b4.tar.gz
crawl-ref-9f35f123b311ebb5c9e8465e3d1080577958c5b4.zip
Better secret door hiding (Darshan)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2817 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/terrain.cc')
-rw-r--r--crawl-ref/source/terrain.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/terrain.cc b/crawl-ref/source/terrain.cc
index c84ec17033..af31a735d5 100644
--- a/crawl-ref/source/terrain.cc
+++ b/crawl-ref/source/terrain.cc
@@ -221,9 +221,9 @@ bool grid_is_branch_stairs( dungeon_feature_type grid )
|| (grid >= DNGN_ENTER_DIS && grid <= DNGN_ENTER_TARTARUS));
}
-int grid_secret_door_appearance( int gx, int gy )
+dungeon_feature_type grid_secret_door_appearance( int gx, int gy )
{
- int ret = DNGN_FLOOR;
+ dungeon_feature_type ret = DNGN_FLOOR;
for (int dx = -1; dx <= 1; dx++)
{