summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArchez <Archez@users.noreply.github.com>2024-11-12 10:15:30 -0500
committerGitHub <noreply@github.com>2024-11-12 10:15:30 -0500
commit422839dea4fafa417dc7e401c78876e6d57a2fcf (patch)
treeac21c595faf4c73344a7f79919b07bd249e09842
parenta2e93687f6b094f2800f4b4d5fa77c09465bd9c1 (diff)
Fix linux crash with KeepExpressMail (#840)
-rw-r--r--mm/2s2h/Enhancements/Cycle/KeepExpressMail.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/2s2h/Enhancements/Cycle/KeepExpressMail.cpp b/mm/2s2h/Enhancements/Cycle/KeepExpressMail.cpp
index 196082d86..13c1c75c4 100644
--- a/mm/2s2h/Enhancements/Cycle/KeepExpressMail.cpp
+++ b/mm/2s2h/Enhancements/Cycle/KeepExpressMail.cpp
@@ -16,7 +16,7 @@ void CheckScene(s16 sceneId) {
onItemDeleteID = REGISTER_VB_SHOULD(VB_MSG_SCRIPT_DEL_ITEM, {
Actor* actor = va_arg(args, Actor*);
- ItemId itemId = va_arg(args, ItemId);
+ ItemId itemId = (ItemId)va_arg(args, int);
// Keep the express mail only on the first trade for the cycle
// Postman checking for Madame Aroma trade cycle flag