Convert GameInteractor_Should hook to use variadic arguments (#4383)
* Convert _Should to use variadic args * Convert everything to use va_arg properly * Update shop hooks to va_args * Wrong Function * Update hook_handlers.cpp --------- Co-authored-by: Malkierian <malkierian@gmail.com> Co-authored-by: Malkierian <malkierian@live.com>
This commit is contained in:
@@ -200,7 +200,7 @@ void Sram_OpenSave() {
|
||||
}
|
||||
}
|
||||
|
||||
if (GameInteractor_Should(VB_REVERT_SPOILING_ITEMS, true, NULL)) {
|
||||
if (GameInteractor_Should(VB_REVERT_SPOILING_ITEMS, true)) {
|
||||
for (i = 0; i < ARRAY_COUNT(gSpoilingItems); i++) {
|
||||
if (INV_CONTENT(ITEM_TRADE_ADULT) == gSpoilingItems[i]) {
|
||||
INV_CONTENT(gSpoilingItemReverts[i]) = gSpoilingItemReverts[i];
|
||||
|
||||
Reference in New Issue
Block a user