summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-15 17:44:40 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-15 17:44:40 +0000
commitc75aefde3410d261bbf9ae725a49cebcbcf29d7b (patch)
treef71a2645f89c592f30e0db8268edeccc0f50a162 /crawl-ref
parent1dabce86629483c4ad0bf921b4105333d2be293c (diff)
downloadcrawl-ref-c75aefde3410d261bbf9ae725a49cebcbcf29d7b.tar.gz
crawl-ref-c75aefde3410d261bbf9ae725a49cebcbcf29d7b.zip
Removed obsolete show_green (you.flash_colour is now used.) Fixes 2168081.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7255 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/it_use3.cc2
-rw-r--r--crawl-ref/source/spells2.cc8
-rw-r--r--crawl-ref/source/view.cc1
3 files changed, 4 insertions, 7 deletions
diff --git a/crawl-ref/source/it_use3.cc b/crawl-ref/source/it_use3.cc
index dbc5900f2f..c6b88c91fc 100644
--- a/crawl-ref/source/it_use3.cc
+++ b/crawl-ref/source/it_use3.cc
@@ -229,8 +229,6 @@ void special_wielded()
2, you.pos(), you.pet_target));
did_god_conduct(DID_NECROMANCY, 1);
}
-
- show_green = DARKGREY;
break;
//case SPWLD_PRUNE:
diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc
index 466e6d4f8a..0854a8e308 100644
--- a/crawl-ref/source/spells2.cc
+++ b/crawl-ref/source/spells2.cc
@@ -564,7 +564,7 @@ void cast_toxic_radiance(void)
mpr("You radiate a sickly green light!");
- show_green = GREEN;
+ you.flash_colour = GREEN;
viewwindow(true, false);
more();
mesclr();
@@ -632,8 +632,8 @@ void cast_toxic_radiance(void)
void cast_refrigeration(int pow)
{
mpr("The heat is drained from your surroundings.");
-
- show_green = LIGHTCYAN;
+
+ you.flash_colour = LIGHTCYAN;
viewwindow(true, false);
more();
mesclr();
@@ -717,7 +717,7 @@ void drain_life(int pow)
// this function with spell level power.
ASSERT(pow <= 27);
- show_green = DARKGREY;
+ you.flash_colour = DARKGREY;
viewwindow(true, false);
more();
mesclr();
diff --git a/crawl-ref/source/view.cc b/crawl-ref/source/view.cc
index 9395625240..2ff544d807 100644
--- a/crawl-ref/source/view.cc
+++ b/crawl-ref/source/view.cc
@@ -88,7 +88,6 @@ static FixedVector<feature_def, NUM_FEATURES> Feature;
crawl_view_geometry crawl_view;
FixedArray < unsigned int, ENV_SHOW_DIAMETER, ENV_SHOW_DIAMETER > Show_Backup;
-unsigned char show_green;
extern int stealth; // defined in acr.cc
screen_buffer_t colour_code_map( const coord_def& p, bool item_colour = false,