From 6fbba58f95ba6875a02f457d8a512736f20c70f0 Mon Sep 17 00:00:00 2001 From: Hourier Date: Thu, 26 Mar 2020 21:15:52 +0900 Subject: [PATCH] [Refactor] #40236 Reshaped store.c a little --- src/store.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/store.c b/src/store.c index 952b0026e..255b26ebc 100644 --- a/src/store.c +++ b/src/store.c @@ -1783,7 +1783,8 @@ static void store_process_command(player_type *client_ptr) if (st_ptr->stock_num <= store_bottom) { msg_print(_("これで全部です。", "Entire inventory is shown.")); } - else { + else + { store_top -= store_bottom; if (store_top < 0) store_top = ((st_ptr->stock_num - 1) / store_bottom) * store_bottom; -- 2.11.0