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).
This commit is contained in:
ragnarok-clanker 2026-11-07 06:41:44 +00:00
commit 689136723b

View file

@ -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);
}