From c397327c3b2bedd21015b709278eed7a19681386 Mon Sep 17 00:00:00 2001 From: Deskull Date: Sat, 12 Jan 2019 17:57:54 +0900 Subject: [PATCH] =?utf8?q?[Refactor]=20#37353=20=E5=9E=8B=E3=81=AE?= =?utf8?q?=E7=BD=AE=E6=8F=9B=E3=80=82=20/=20Type=20replacement.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/spells3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/spells3.c b/src/spells3.c index 39a6dfcc5..a01dd11e4 100644 --- a/src/spells3.c +++ b/src/spells3.c @@ -2420,9 +2420,9 @@ bool mundane_spell(bool only_equip) { POSITION iy = o_ptr->iy; /* Y-position on map, or zero */ POSITION ix = o_ptr->ix; /* X-position on map, or zero */ - s16b next_o_idx = o_ptr->next_o_idx; /* Next object in stack (if any) */ + OBJECT_IDX next_o_idx = o_ptr->next_o_idx; /* Next object in stack (if any) */ byte marked = o_ptr->marked; /* Object is marked */ - s16b weight = o_ptr->number * o_ptr->weight; + WEIGHT weight = o_ptr->number * o_ptr->weight; u16b inscription = o_ptr->inscription; /* Wipe it clean */ -- 2.11.0