summaryrefslogtreecommitdiff
path: root/src/object1.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2011-04-15 09:07:48 +0200
committerBardur Arantsson <bardur@scientician.net>2012-03-29 20:13:25 +0200
commit08a39076992d367194b6fce9853b1b8898936b24 (patch)
treeefdfd0f9677662338596d109112eaddf378d525f /src/object1.c
parent6b7047f796370199f357ed0b3bae6afa350c6ae9 (diff)
Refactor: show_{equip,inven} argument is always FALSE.
Diffstat (limited to 'src/object1.c')
-rw-r--r--src/object1.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/object1.c b/src/object1.c
index 27c87d7f..7304c00a 100644
--- a/src/object1.c
+++ b/src/object1.c
@@ -4706,14 +4706,14 @@ void show_inven_aux(bool_ mirror, bool_ everything)
}
-void show_inven(bool_ mirror)
+void show_inven()
{
- show_inven_aux(mirror, FALSE);
+ show_inven_aux(FALSE, FALSE);
}
-void show_equip(bool_ mirror)
+void show_equip()
{
- show_equip_aux(mirror, FALSE);
+ show_equip_aux(FALSE, FALSE);
}
/*
@@ -5546,7 +5546,9 @@ bool_ get_item_floor(int *cp, cptr pmt, cptr str, int mode)
n2 = I2A(i2);
/* Redraw if needed */
- if (command_see) show_inven(FALSE);
+ if (command_see) {
+ show_inven();
+ }
}
/* Equipment screen */
@@ -5557,7 +5559,9 @@ bool_ get_item_floor(int *cp, cptr pmt, cptr str, int mode)
n2 = I2A(e2 - INVEN_WIELD);
/* Redraw if needed */
- if (command_see) show_equip(FALSE);
+ if (command_see) {
+ show_equip();
+ }
}
/* Floor screen */