diff --git a/Source/UI/UIMacroBlackListCheckWnd.cpp b/Source/UI/UIMacroBlackListCheckWnd.cpp index a91f156a..18a3d821 100644 --- a/Source/UI/UIMacroBlackListCheckWnd.cpp +++ b/Source/UI/UIMacroBlackListCheckWnd.cpp @@ -175,3 +175,10 @@ int UIMacroBlackListCheckWnd::SendMsg( } // OFFSET: 0x007ECE80 +// FUNCTION: fn_09803 +void UIMacroBlackListCheckWnd::Activate(unsigned char state, int duration) { + this->startTick = timeGetTime(); + this->duration = duration; + this->unknown_00E4 = state; + this->Invalidate(); +} diff --git a/Source/UI/UIMacroDetectorWnd.cpp b/Source/UI/UIMacroDetectorWnd.cpp index e793336a..d32b14a1 100644 --- a/Source/UI/UIMacroDetectorWnd.cpp +++ b/Source/UI/UIMacroDetectorWnd.cpp @@ -19,3 +19,10 @@ void UIMacroDetectorWnd::Slot27(int, int) { } // OFFSET: 0x007EDC30 +// FUNCTION: fn_09817 +void UIMacroDetectorWnd::Slot19() { + if (this->messageTick + this->messageDuration < timeGetTime()) { + this->message = ""; + } + this->Invalidate(); +}