Decompile fn_20946 (CooldownState::CooldownState)

Batch #17554 by cremane: 0 byte-identical, 1 confirmed by peer review.

- fn_20946 CooldownState::CooldownState: logic confirmed by peer review

Peer-reviewed-by: eAthena, Yommy, bibinir
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-12 00:40:08 +00:00
commit 4001e6d8bd

View file

@ -32,7 +32,11 @@ CooldownState::CooldownState(int slotValue, int xValue, int yValue, std::uint32_
this->slot = slotValue;
this->ClearEdges();
std::memset(this->vertices, 0, sizeof(this->vertices));
this->color = this->reverse != 0 ? 0xAAFFFFFFu : 0xAA000000u;
if (this->reverse != 0) {
this->color = 0xAAFFFFFF;
} else {
this->color = 0xAA000000;
}
}
// OFFSET: 0x00910480