summaryrefslogtreecommitdiff
path: root/mm/2s2h/Rando/GiveItem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mm/2s2h/Rando/GiveItem.cpp')
-rw-r--r--mm/2s2h/Rando/GiveItem.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/mm/2s2h/Rando/GiveItem.cpp b/mm/2s2h/Rando/GiveItem.cpp
index 28a9b1819..f76cfbed8 100644
--- a/mm/2s2h/Rando/GiveItem.cpp
+++ b/mm/2s2h/Rando/GiveItem.cpp
@@ -1,4 +1,5 @@
#include "Rando/Rando.h"
+#include "Rando/MiscBehavior/MiscBehavior.h"
extern "C" {
#include "variables.h"
@@ -288,6 +289,9 @@ void Rando::GiveItem(RandoItemId randoItemId) {
case RI_ABILITY_SWIM:
Flags_SetRandoInf(RANDO_INF_OBTAINED_SWIM);
break;
+ case RI_TRAP:
+ Rando::MiscBehavior::OfferTrapItem();
+ break;
case RI_JUNK:
case RI_NONE:
break;