mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-03 08:23:08 -04:00
Fix a bunch of compiler warnings and document several more bugs (#3130)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user