Fix a bunch of compiler warnings and document several more bugs (#3130)

This commit is contained in:
Max Roncace
2026-03-18 01:38:05 -04:00
committed by GitHub
parent 9f340b604b
commit 6694c1b281
109 changed files with 416 additions and 207 deletions
+2 -3
View File
@@ -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);