mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-23 16:21:15 +00:00
Simplify if statement and make indent consistent
This commit is contained in:
parent
6b2dc7a6fb
commit
bba6cd6f16
@ -250,11 +250,8 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (g_mousedown == 0) {
|
if (g_mousedown && g_mousemoved && g_isle) {
|
||||||
// Nothing
|
g_isle->Tick(0);
|
||||||
}
|
|
||||||
else if (g_mousemoved && g_isle) {
|
|
||||||
g_isle->Tick(0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (g_mousemoved) {
|
if (g_mousemoved) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user