From 689136723bab62ec1382948bb2fa106809981aaa Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sat, 7 Nov 2026 06:41:44 +0000 Subject: [PATCH] Decompile fn_18984 (CEffect::AddEvent) Batch #13696 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_18984 CEffect::AddEvent: logic confirmed by peer review Peer-reviewed-by: Yommy, secret, aDw Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Contents/Effects/Effect.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/Contents/Effects/Effect.cpp b/Source/Contents/Effects/Effect.cpp index 7f4fb98bc..617c09a2b 100644 --- a/Source/Contents/Effects/Effect.cpp +++ b/Source/Contents/Effects/Effect.cpp @@ -39,8 +39,11 @@ void CEffect::Close() {} // OFFSET: 0x00B4DE40 // FUNCTION: fn_18984 void CEffect::AddEvent(int kind, const char* text, int frame, int argument) { - EffectEvent event{kind, frame, argument}; + EffectEvent event; + event.kind = kind; event.text = text ? text : ""; + event.frame = frame; + event.argument = argument; this->events.push_back(event); }