diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-06 05:56:50 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-06 05:56:50 +0000 |
commit | bd1d91f4b91afaf8dd80c329c78b775f43382b87 (patch) | |
tree | 38c0cfd9f7268aa1eeb200e19996f63bf24f62b9 /crawl-ref/source/shopping.cc | |
parent | 7cd64c37c6b36806e99e92e59581447c9b91560a (diff) | |
download | crawl-ref-bd1d91f4b91afaf8dd80c329c78b775f43382b87.tar.gz crawl-ref-bd1d91f4b91afaf8dd80c329c78b775f43382b87.zip |
Kill hard tabs.
redraw_dexterity now implies redraw_evasion.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@987 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/shopping.cc')
-rw-r--r-- | crawl-ref/source/shopping.cc | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/crawl-ref/source/shopping.cc b/crawl-ref/source/shopping.cc index ee3df95b1d..9cd5d65d60 100644 --- a/crawl-ref/source/shopping.cc +++ b/crawl-ref/source/shopping.cc @@ -137,7 +137,7 @@ char in_a_shop( char shoppy, id_arr id ) more3(); - activate_notes(false); /* should do a better job here */ + activate_notes(false); /* should do a better job here */ shop_init_id(shoppy, shop_id); /* ************************************* @@ -189,13 +189,13 @@ char in_a_shop( char shoppy, id_arr id ) if (gp_value <= 1) gp_value = 1; - const bool can_afford = (you.gold >= gp_value); - textcolor( can_afford ? LIGHTGREEN : LIGHTRED ); + const bool can_afford = (you.gold >= gp_value); + textcolor( can_afford ? LIGHTGREEN : LIGHTRED ); if (can_afford) purchasable += c; - cprintf("%c - ", c); + cprintf("%c - ", c); textcolor((i % 2) ? WHITE : LIGHTGREY); @@ -444,17 +444,17 @@ static void purchase( int shop, int item_got, int cost ) origin_purchased(mitm[item_got]); if ( fully_identified(mitm[item_got]) && - is_interesting_item(mitm[item_got]) ) { + is_interesting_item(mitm[item_got]) ) { - activate_notes(true); + activate_notes(true); - char buf[ITEMNAME_SIZE]; - char buf2[ITEMNAME_SIZE]; - item_name( mitm[item_got], DESC_NOCAP_A, buf ); - strcpy(buf2, origin_desc(mitm[item_got]).c_str()); - take_note(Note(NOTE_ID_ITEM, 0, 0, buf, buf2)); + char buf[ITEMNAME_SIZE]; + char buf2[ITEMNAME_SIZE]; + item_name( mitm[item_got], DESC_NOCAP_A, buf ); + strcpy(buf2, origin_desc(mitm[item_got]).c_str()); + take_note(Note(NOTE_ID_ITEM, 0, 0, buf, buf2)); - activate_notes(false); + activate_notes(false); } int num = move_item_to_player( item_got, mitm[item_got].quantity, true ); |