mirror of
https://github.com/isledecomp/isle.git
synced 2026-02-02 21:21:16 +00:00
fix second Tick call, change loop
This commit is contained in:
parent
749a1f419b
commit
1974fdd772
@ -90,14 +90,10 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (g_isle) {
|
if (g_isle) {
|
||||||
g_isle->Tick(1);
|
g_isle->Tick(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (g_closed) {
|
while (!g_closed) {
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
do {
|
|
||||||
if (!PeekMessageA(&msg, NULL, 0, 0, PM_REMOVE)) {
|
if (!PeekMessageA(&msg, NULL, 0, 0, PM_REMOVE)) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -134,7 +130,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
|
|||||||
}
|
}
|
||||||
goto LAB_00401bc7;
|
goto LAB_00401bc7;
|
||||||
}
|
}
|
||||||
} while (!g_closed);
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
DestroyWindow(window);
|
DestroyWindow(window);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user