summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilepick.cc
diff options
context:
space:
mode:
authorSteven Noonan <steven@uplinklabs.net>2009-10-17 06:02:08 -0700
committerSteven Noonan <steven@uplinklabs.net>2009-10-17 06:02:08 -0700
commita56fa852ebf641176aa6d4811e22b0a787cad70c (patch)
tree572b189bdf62a558e2d4e976cd2655d25f802046 /crawl-ref/source/tilepick.cc
parentdda12bf355ccce8f82c53f40d75444a5b7a546ea (diff)
downloadcrawl-ref-a56fa852ebf641176aa6d4811e22b0a787cad70c.tar.gz
crawl-ref-a56fa852ebf641176aa6d4811e22b0a787cad70c.zip
tilepick.cc: fix compile error caused by misspelling
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Diffstat (limited to 'crawl-ref/source/tilepick.cc')
-rw-r--r--crawl-ref/source/tilepick.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/tilepick.cc b/crawl-ref/source/tilepick.cc
index 2eedc91c6b..2d0b435496 100644
--- a/crawl-ref/source/tilepick.cc
+++ b/crawl-ref/source/tilepick.cc
@@ -67,7 +67,7 @@ void TileNewLevel(bool first_time)
unsigned int tile = env.tile_bk_bg[x][y];
if (!(tile & TILE_FLAG_NEW_STAIR))
continue;
- if (!is_unkown_stair(coord_def(x,y)))
+ if (!is_unknown_stair(coord_def(x,y)))
env.tile_bk_bg[x][y] &= ~TILE_FLAG_NEW_STAIR;
}
}
@@ -4537,7 +4537,7 @@ void tile_draw_floor()
{
if (object == DNGN_DETECTED_SECRET_DOOR)
bg |= TILE_FLAG_WAS_SECRET;
- else if (is_unkown_stair(gc))
+ else if (is_unknown_stair(gc))
bg |= TILE_FLAG_NEW_STAIR;
}
}