summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-20 05:52:36 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-20 05:52:36 +0000
commit9f9b63b478ba743ec8c2f692b760f9375357b7b7 (patch)
tree3005bc757f830cd8a713586cf20a173a2e60bfaf /crawl-ref
parentf2972cf05bb68980e8b6a02fc41ea279988f5129 (diff)
downloadcrawl-ref-9f9b63b478ba743ec8c2f692b760f9375357b7b7.tar.gz
crawl-ref-9f9b63b478ba743ec8c2f692b760f9375357b7b7.zip
Remove now-unused redraw_gold flag.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8618 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/acr.cc2
-rw-r--r--crawl-ref/source/clua.cc1
-rw-r--r--crawl-ref/source/externs.h2
-rw-r--r--crawl-ref/source/files.cc1
-rw-r--r--crawl-ref/source/items.cc1
-rw-r--r--crawl-ref/source/religion.cc1
-rw-r--r--crawl-ref/source/stuff.cc1
7 files changed, 0 insertions, 9 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc
index fb8d836261..ebe09fae0e 100644
--- a/crawl-ref/source/acr.cc
+++ b/crawl-ref/source/acr.cc
@@ -494,7 +494,6 @@ static void _do_wizard_command(int wiz_command, bool silent_fail)
case '$':
you.gold += 1000;
- you.redraw_gold = true;
if (!Options.show_gold_turns)
mprf("You now have %d gold.", you.gold);
break;
@@ -4006,7 +4005,6 @@ static bool _initialise(void)
you.redraw_armour_class = true;
you.redraw_evasion = true;
you.redraw_experience = true;
- you.redraw_gold = true;
you.redraw_quiver = true;
you.wield_change = true;
diff --git a/crawl-ref/source/clua.cc b/crawl-ref/source/clua.cc
index 8ee34fb06a..2f76087e43 100644
--- a/crawl-ref/source/clua.cc
+++ b/crawl-ref/source/clua.cc
@@ -827,7 +827,6 @@ static int _you_gold(lua_State *ls)
const int new_gold = luaL_checkint(ls, 1);
const int old_gold = you.gold;
you.gold = std::max(new_gold, 0);
- you.redraw_gold = true;
if (new_gold > old_gold)
you.attribute[ATTR_GOLD_FOUND] += new_gold - old_gold;
else if (old_gold > new_gold)
diff --git a/crawl-ref/source/externs.h b/crawl-ref/source/externs.h
index 6e5e55edec..fedb5f40a9 100644
--- a/crawl-ref/source/externs.h
+++ b/crawl-ref/source/externs.h
@@ -806,8 +806,6 @@ public:
bool redraw_dexterity;
bool redraw_experience;
bool redraw_armour_class;
-
- bool redraw_gold;
bool redraw_evasion;
unsigned char flash_colour;
diff --git a/crawl-ref/source/files.cc b/crawl-ref/source/files.cc
index 8376a17824..717e13e064 100644
--- a/crawl-ref/source/files.cc
+++ b/crawl-ref/source/files.cc
@@ -124,7 +124,6 @@ static void _redraw_all(void)
you.redraw_armour_class = true;
you.redraw_evasion = true;
you.redraw_experience = true;
- you.redraw_gold = true;
you.redraw_status_flags =
REDRAW_LINE_1_MASK | REDRAW_LINE_2_MASK | REDRAW_LINE_3_MASK;
diff --git a/crawl-ref/source/items.cc b/crawl-ref/source/items.cc
index ca2dcb11f6..6bc86ac2aa 100644
--- a/crawl-ref/source/items.cc
+++ b/crawl-ref/source/items.cc
@@ -1534,7 +1534,6 @@ int move_item_to_player( int obj, int quant_got, bool quiet,
you.attribute[ATTR_GOLD_FOUND] += quant_got;
you.gold += quant_got;
dec_mitm_item_quantity( obj, quant_got );
- you.redraw_gold = true;
if (!quiet)
{
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index 246250dda2..f9a5999010 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -6277,7 +6277,6 @@ void offer_items()
you.attribute[ATTR_DONATIONS] += donation_cost;
you.gold -= donation_cost;
- you.redraw_gold = true;
if (donation < 1)
{
diff --git a/crawl-ref/source/stuff.cc b/crawl-ref/source/stuff.cc
index f260180e6c..743e7d13a9 100644
--- a/crawl-ref/source/stuff.cc
+++ b/crawl-ref/source/stuff.cc
@@ -796,7 +796,6 @@ void redraw_screen(void)
you.redraw_dexterity = true;
you.redraw_armour_class = true;
you.redraw_evasion = true;
- you.redraw_gold = true;
you.redraw_experience = true;
you.wield_change = true;
you.redraw_quiver = true;