Decompile fn_10879 (UIResizer::ResetCursor)
Batch #12907 by cremane: 1 byte-identical, 0 confirmed by peer review. - fn_10879 UIResizer::ResetCursor: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
67e6de9604
commit
87de6ed80f
1 changed files with 3 additions and 1 deletions
|
|
@ -111,7 +111,9 @@ void UIResizer::Slot27(int x, int y) {
|
|||
// OFFSET: 0x0085FA20
|
||||
// FUNCTION: fn_10879
|
||||
void UIResizer::ResetCursor(int x, int y) {
|
||||
if (g_windowMgr.Capture() == this || (x >= 0 && x < this->geometry.width && y >= 0 && y <= this->geometry.height)) {
|
||||
if (g_windowMgr.Capture() == this) {
|
||||
g_modeMgr.gameMode->SetCursorAction(2);
|
||||
} else if (x >= 0 && x < this->geometry.width && y >= 0 && y <= this->geometry.height) {
|
||||
g_modeMgr.gameMode->SetCursorAction(2);
|
||||
} else if (g_windowMgr.Capture() != this) {
|
||||
g_modeMgr.gameMode->SetCursorAction(0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue