diff options
author | Bardur Arantsson <bardur@scientician.net> | 2011-04-15 09:07:48 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2012-03-29 20:13:25 +0200 |
commit | 08a39076992d367194b6fce9853b1b8898936b24 (patch) | |
tree | efdfd0f9677662338596d109112eaddf378d525f /src/object1.c | |
parent | 6b7047f796370199f357ed0b3bae6afa350c6ae9 (diff) |
Refactor: show_{equip,inven} argument is always FALSE.
Diffstat (limited to 'src/object1.c')
-rw-r--r-- | src/object1.c | 16 |
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 */ |