mirror of
https://github.com/isledecomp/isle.git
synced 2025-12-09 23:53:02 +00:00
Remove goto from isleapp.cpp (#188)
* Remove goto from isleapp.cpp * Simplify if statement and make indent consistent
This commit is contained in:
@@ -250,16 +250,12 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (g_mousedown == 0) {
|
if (g_mousedown && g_mousemoved && g_isle) {
|
||||||
LAB_00401bc7:
|
|
||||||
if (g_mousemoved) {
|
|
||||||
g_mousemoved = FALSE;
|
|
||||||
}
|
|
||||||
} else if (g_mousemoved) {
|
|
||||||
if (g_isle) {
|
|
||||||
g_isle->Tick(0);
|
g_isle->Tick(0);
|
||||||
}
|
}
|
||||||
goto LAB_00401bc7;
|
|
||||||
|
if (g_mousemoved) {
|
||||||
|
g_mousemoved = FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user