Decompile fn_04166 (UILapineBoxWnd::OnMouseHover)
Batch #17568 by cremane: 0 byte-identical, 1 confirmed by peer review. - fn_04166 UILapineBoxWnd::OnMouseHover: logic confirmed by peer review Peer-reviewed-by: eAthena, Yommy 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
8073bd445f
commit
e2d181f1e8
1 changed files with 1 additions and 2 deletions
|
|
@ -136,8 +136,7 @@ void UILapineBoxWnd::OnMouseHover(int x, int y) {
|
|||
if (item.identity[1] != 0) {
|
||||
int tipX = 0;
|
||||
int tipY = -20;
|
||||
const int count = static_cast<int>(this->items.size());
|
||||
for (int index = 0; index < count; ++index) {
|
||||
for (unsigned int index = 0; index < this->items.size(); ++index) {
|
||||
if (this->items[index].identity[1] == item.identity[1]) {
|
||||
int position[2] = {0, 0};
|
||||
this->MaterialPosition(position, index);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue