From 13789a1dfb738d2bfb7850e31b45837720197db1 Mon Sep 17 00:00:00 2001 From: Malkierian Date: Tue, 26 Nov 2024 18:28:24 -0700 Subject: [PATCH] Prevent void and teleport traps from being added to the shuffle pool while fishing in the pond. (#4586) --- soh/soh/Enhancements/mods.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/soh/soh/Enhancements/mods.cpp b/soh/soh/Enhancements/mods.cpp index 8c18daa00..0c11c79b2 100644 --- a/soh/soh/Enhancements/mods.cpp +++ b/soh/soh/Enhancements/mods.cpp @@ -1036,6 +1036,9 @@ std::vector getEnabledAddTraps () { std::vector enabledAddTraps; for (int i = 0; i < ADD_TRAP_MAX; i++) { if (CVarGetInteger(altTrapTypeCvars[i], 0)) { + if (gSaveContext.equips.buttonItems[0] == ITEM_FISHING_POLE && (i == ADD_VOID_TRAP || i == ADD_TELEPORT_TRAP)) { + continue; // don't add void or teleport if you're holding the fishing pole, as this causes issues + } enabledAddTraps.push_back(static_cast(i)); } }