diff --git a/switch.cpp b/switch.cpp index b39a0cd..34dad55 100644 --- a/switch.cpp +++ b/switch.cpp @@ -1,6 +1,13 @@ #include "switch.h" +#include "trig.h" #include "validate.h" +// @Ok +void CSwitch::SignalAttachedItems(void) +{ + Trig_SendPulse(Trig_GetLinksPointer(this->field_DE)); +} + // @Ok void __inline CSwitch::SwitchInactive(void) { diff --git a/switch.h b/switch.h index 90f1c4e..b910b15 100644 --- a/switch.h +++ b/switch.h @@ -12,6 +12,7 @@ class CSwitch : public CBody EXPORT void SwitchInactive(void); EXPORT CVector* GetAutoAimTargetPointer(void); EXPORT void SwitchOff(void); + EXPORT void SignalAttachedItems(void); unsigned char padTop[0x100-0xF4];