diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-18 18:54:45 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-18 18:54:45 +0000 |
commit | d2a19a99c290ba465b06146df13d18ad28ff2e96 (patch) | |
tree | ac012efba56ccb6d691f34d3358f3b0e3f8058ce /crawl-ref/source/it_use2.cc | |
parent | 8330288d5b40dff70133b430bb8c00d12830328f (diff) | |
download | crawl-ref-d2a19a99c290ba465b06146df13d18ad28ff2e96.tar.gz crawl-ref-d2a19a99c290ba465b06146df13d18ad28ff2e96.zip |
Simplify TSO halo management. Since backlit() now takes the halo into
account, there's no need to manually backlight invisible monsters
anymore.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4341 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/it_use2.cc')
-rw-r--r-- | crawl-ref/source/it_use2.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/crawl-ref/source/it_use2.cc b/crawl-ref/source/it_use2.cc index ce0aea3077..9a77a2cc7c 100644 --- a/crawl-ref/source/it_use2.cc +++ b/crawl-ref/source/it_use2.cc @@ -245,10 +245,6 @@ bool potion_effect( potion_type pot_eff, int pow, bool was_known ) you.duration[DUR_INVIS] = 100; you.duration[DUR_BACKLIGHT] = 0; - - // Invisible players inside a halo get backlight. - if (halo_radius()) - manage_halo(); break; case POT_PORRIDGE: // oatmeal - always gluggy white/grey? |