Allow the window to recover to test recovery

This commit is contained in:
Joshua Fuhs 2012-06-29 22:00:02 -04:00
parent fbbecc71e8
commit 0f5f77b7cb

View file

@ -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--;