From 432aa54add7c08c682f57508c8e995b0e214f5d4 Mon Sep 17 00:00:00 2001 From: ennewalker Date: Thu, 12 Jun 2008 22:47:04 +0000 Subject: [1974966] Display icon for hostile weapons in tiles. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5768 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/tile2.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'crawl-ref/source/tile2.cc') diff --git a/crawl-ref/source/tile2.cc b/crawl-ref/source/tile2.cc index dace6d104c..279e5bf378 100644 --- a/crawl-ref/source/tile2.cc +++ b/crawl-ref/source/tile2.cc @@ -726,6 +726,11 @@ void _tcache_compose_normal(int ix, int *fg, int *bg) status_shift += 5; } + if (fg0 & TILE_FLAG_ANIM_WEP) + { + _tcache_overlay(tcache_image, ix, TILE_ANIMATED_WEAPON, &c, NULL); + } + if (bg0 & TILE_FLAG_UNSEEN) { _tcache_overlay(tcache_image, ix, TILE_MESH, &c, NULL); -- cgit v1.2.3-54-g00ecf