diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-26 04:54:48 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-26 04:54:48 +0000 |
commit | 407b446d10c56a89ac673397bf465aafa79feaef (patch) | |
tree | cf168ddd216808f38f55e6ebfe10108dcbc2cbb3 /crawl-ref/source/tilepick.cc | |
parent | 567351d20b5fb5a61845f0e2d8877ecf67adbdc6 (diff) | |
download | crawl-ref-407b446d10c56a89ac673397bf465aafa79feaef.tar.gz crawl-ref-407b446d10c56a89ac673397bf465aafa79feaef.zip |
Really fix compilation.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8765 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/tilepick.cc')
-rw-r--r-- | crawl-ref/source/tilepick.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/tilepick.cc b/crawl-ref/source/tilepick.cc index acf9bbfd3e..2408fc75fc 100644 --- a/crawl-ref/source/tilepick.cc +++ b/crawl-ref/source/tilepick.cc @@ -117,8 +117,7 @@ static int _bow_offset(const monsters *mon) static int _tileidx_monster_base(const monsters *mon, bool detected) { - int grid = grd(mon->pos()); - bool in_water = grid_is_water(grid); + bool in_water = grid_is_water(grd(mon->pos())); int type = mon->type; @@ -856,6 +855,7 @@ static int _tileidx_monster_base(const monsters *mon, bool detected) return TILEP_MONS_TOENAIL_GOLEM; case MONS_ELECTRIC_GOLEM: return TILEP_MONS_ELECTRIC_GOLEM; + // statues (also '8') case MONS_ICE_STATUE: return TILEP_ICE_STATUE; |