mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-20 13:45:14 -04:00
Process IDs cleanup
* Use fpcM_ERROR_PROCESS_ID_e enum instead of literal -1/0xFFFFFFFF everywhere * Disambiguate variable names by using itemNo/msgNo instead of itemID/msgID
This commit is contained in:
@@ -1189,10 +1189,10 @@ bool daTbox_c::actionOpenWait() {
|
||||
dComIfGp_event_onEventFlag(0x04);
|
||||
|
||||
u8 itemNo = getItemNo();
|
||||
s32 itemId = fopAcM_createItemForTrBoxDemo(¤t.pos, itemNo, -1, -1, NULL, NULL);
|
||||
u32 itemPID = fopAcM_createItemForTrBoxDemo(¤t.pos, itemNo, -1, -1, NULL, NULL);
|
||||
|
||||
if (itemId != 0xFFFFFFFF) {
|
||||
dComIfGp_event_setItemPartnerId(itemId);
|
||||
if (itemPID != fpcM_ERROR_PROCESS_ID_e) {
|
||||
dComIfGp_event_setItemPartnerId(itemPID);
|
||||
}
|
||||
|
||||
if (getShapeType() != 0) {
|
||||
|
||||
Reference in New Issue
Block a user