Simplify if statement and make indent consistent

This commit is contained in:
ChrisMiuchiz 2023-10-08 09:08:16 -04:00
parent 6b2dc7a6fb
commit bba6cd6f16

View File

@ -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) {