From 8d42a680bf6892da3765aec1f5cf8757089a5d81 Mon Sep 17 00:00:00 2001 From: nothere Date: Fri, 6 Jun 2003 11:14:38 +0000 Subject: [PATCH] =?utf8?q?=E6=AD=A6=E5=99=A8=E5=8C=A0=E3=81=AE=E6=AD=A6?= =?utf8?q?=E5=99=A8=E6=AF=94=E8=BC=83=E6=99=82=E3=81=AB=20"=E3=81=B5?= =?utf8?q?=E3=81=95=E3=82=8F=E3=81=97=E3=81=8F=E3=81=AA=E3=81=84"=20"?= =?utf8?q?=E4=B9=97=E9=A6=AC=E4=B8=AD=E3=81=AB=E5=90=91=E3=81=8B=E3=81=AA?= =?utf8?q?=E3=81=84"=20=E3=81=A8=E3=81=84=E3=81=A3=E3=81=9F=E3=83=A1?= =?utf8?q?=E3=83=83=20=E3=82=BB=E3=83=BC=E3=82=B8=E3=81=8C=E5=87=BA?= =?utf8?q?=E3=82=8B=E3=83=90=E3=82=B0=E3=82=92=E4=BF=AE=E6=AD=A3.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/bldg.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/bldg.c b/src/bldg.c index 7bc55e5d3..a1a5f3b19 100644 --- a/src/bldg.c +++ b/src/bldg.c @@ -3275,6 +3275,7 @@ static bool compare_weapons(void) object_type *i_ptr; cptr q, s; int row = 2; + bool old_character_xtra = character_xtra; screen_save(); /* Clear the screen */ @@ -3338,9 +3339,14 @@ s = " if (o1_ptr != i_ptr) object_copy(i_ptr, o1_ptr); + /* Hack -- prevent "icky" message */ + character_xtra = TRUE; + /* Get the new values */ calc_bonuses(); + character_xtra = old_character_xtra; + /* List the new values */ list_weapon(o1_ptr, row, 2); compare_weapon_aux1(o1_ptr, 2, row + 8); @@ -3351,9 +3357,14 @@ s = " else object_copy(i_ptr, &orig_weapon); + /* Hack -- prevent "icky" message */ + character_xtra = TRUE; + /* Get the new values */ calc_bonuses(); + character_xtra = old_character_xtra; + /* List the new values */ list_weapon(o2_ptr, row, 40); compare_weapon_aux1(o2_ptr, 40, row + 8); -- 2.11.0