Decompile fn_12711 (UIShortCutWnd::OnMouseHover)
Batch #15528 by Yommy: 0 byte-identical, 1 confirmed by peer review. - fn_12711 UIShortCutWnd::OnMouseHover: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, eAthena 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
11545042dc
commit
aceeb996ab
1 changed files with 2 additions and 1 deletions
|
|
@ -2,6 +2,7 @@
|
|||
#include "Contents/Hotkeys/HotkeyInfo.h"
|
||||
#include "Contents/MessageTable.h"
|
||||
#include "Contents/Skills/ClientSkills.h"
|
||||
#include "Contents/Skills/PlayerSkillBundle.h"
|
||||
#include "UI/Shortcuts/UIShortCutWnd.h"
|
||||
#include "UI/Buttons/UIButton.h"
|
||||
#include "UI/Window/UIWindow.h"
|
||||
|
|
@ -79,7 +80,7 @@ void UIShortCutWnd::OnMouseHover(int x, int y) {
|
|||
text = shortcut;
|
||||
} else {
|
||||
int level = slot.value;
|
||||
if ((skill.id == 6579 || skill.id == 6580) && skill.level < level) {
|
||||
if (IsIndexedSkill(static_cast<int>(skill.id)) && skill.level < level) {
|
||||
level = skill.level;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue