Decompile fn_16918 (RunWindowAction)
Batch #16894 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_16918 RunWindowAction: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, Yommy, br4yan 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
8dafe9aa8a
commit
e3d10246b8
1 changed files with 1 additions and 1 deletions
|
|
@ -187,7 +187,7 @@ bool RunWindowAction(bool primary, bool secondary, int value, int limit, std::fu
|
|||
return false;
|
||||
}
|
||||
|
||||
(primary && (!secondary || value <= limit) ? primaryAction : secondaryAction)();
|
||||
(primary ? (secondary && value > limit ? secondaryAction : primaryAction) : secondaryAction)();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue