Allow the window to recover to test recovery
This commit is contained in:
parent
fbbecc71e8
commit
0f5f77b7cb
1 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ int WinMain(HINSTANCE hInst,HINSTANCE,LPSTR,int nCmdShow)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int maintain_bomb = 30;
|
int maintain_bomb = 60;
|
||||||
int activate_bomb = 5;
|
int activate_bomb = 5;
|
||||||
|
|
||||||
LRESULT CALLBACK WindowProc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam)
|
LRESULT CALLBACK WindowProc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam)
|
||||||
|
@ -76,7 +76,7 @@ LRESULT CALLBACK WindowProc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam)
|
||||||
if(activate_bomb == 0)
|
if(activate_bomb == 0)
|
||||||
while(maintain_bomb) {
|
while(maintain_bomb) {
|
||||||
Sleep(1000);
|
Sleep(1000);
|
||||||
//maintain_bomb--;
|
maintain_bomb--;
|
||||||
}
|
}
|
||||||
activate_bomb--;
|
activate_bomb--;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue