Decompile fn_09850 (UIMacroReporterWnd::Slot25)
Batch #13678 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_09850 UIMacroReporterWnd::Slot25: logic confirmed by peer review 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
af5401a199
commit
9dbca3a8e7
1 changed files with 5 additions and 3 deletions
|
|
@ -245,9 +245,11 @@ void UIMacroReporterWnd::Slot25(int x, int y) {
|
|||
}
|
||||
|
||||
g_windowMgr.SetCapture(this);
|
||||
this->ToScreen(x, y);
|
||||
this->m_dragX = x;
|
||||
this->m_dragY = y;
|
||||
int screenX = x;
|
||||
int screenY = y;
|
||||
this->ToScreen(screenX, screenY);
|
||||
this->m_dragX = screenX;
|
||||
this->m_dragY = screenY;
|
||||
this->m_originX = this->geometry.x;
|
||||
this->m_originY = this->geometry.y;
|
||||
g_snapMgr.CaptureOrigins(this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue