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:
parent
f78be1950c
commit
4001e6d8bd
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue