summaryrefslogtreecommitdiff
path: root/src/d/d_shop_system.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/d/d_shop_system.cpp')
-rw-r--r--src/d/d_shop_system.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/d/d_shop_system.cpp b/src/d/d_shop_system.cpp
index 1c955f0076..52941ebd0c 100644
--- a/src/d/d_shop_system.cpp
+++ b/src/d/d_shop_system.cpp
@@ -1459,9 +1459,8 @@ bool dShopSystem_c::searchItemActor() {
for (int i = 0; i < dShopSystem_sellItemMax; i++) {
u32 processId = dShopSystem_itemActor[i]->getProcessID();
mItemCtrl.setItemIndex(i, processId);
- mItemCtrl.setMessageIndex(i, (u16)dShopSystem_itemActor[i]->home.angle.x != 0xFFFF ?
- (u16)dShopSystem_itemActor[i]->home.angle.x :
- -1);
+ int itemFlowId = dShopSystem_itemActor[i]->getFlowNodeNum();
+ mItemCtrl.setMessageIndex(i, itemFlowId);
if (processId + 0x10000 == 0xFFFF) {
onFlag(i);