diff options
| author | Eblo <7004497+Eblo@users.noreply.github.com> | 2025-09-19 23:23:08 -0400 |
|---|---|---|
| committer | Eblo <7004497+Eblo@users.noreply.github.com> | 2025-09-19 23:23:08 -0400 |
| commit | dc9587914d06cbe9140a4504ee0458744e80870b (patch) | |
| tree | fcca6b5e37e6ecf3da19c39bca42d5199b32db7a /mm/2s2h/Rando/ActorBehavior/EnPm.cpp | |
| parent | 1de8a27a7d49c5a3a0862a5357b025b5e881f716 (diff) | |
Do not dereference rando actor script args
Diffstat (limited to 'mm/2s2h/Rando/ActorBehavior/EnPm.cpp')
| -rw-r--r-- | mm/2s2h/Rando/ActorBehavior/EnPm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/2s2h/Rando/ActorBehavior/EnPm.cpp b/mm/2s2h/Rando/ActorBehavior/EnPm.cpp index 57249f5db..62c9c8370 100644 --- a/mm/2s2h/Rando/ActorBehavior/EnPm.cpp +++ b/mm/2s2h/Rando/ActorBehavior/EnPm.cpp @@ -27,7 +27,7 @@ void Rando::ActorBehavior::InitEnPmBehavior() { * Express Mail, so we're just going to always act as if the player does not have the Postman's Hat. * This enables repeat rewards as well, which does slightly differ from vanilla. */ - MsgScriptCmdCheckItem* cmd = (MsgScriptCmdCheckItem*)*script; + MsgScriptCmdCheckItem* cmd = (MsgScriptCmdCheckItem*)script; ItemId itemId = (ItemId)SCRIPT_PACK_16(cmd->itemH, cmd->itemL); if (itemId == ITEM_MASK_POSTMAN) { *should = false; |
