program_state moved to g.

This commit is contained in:
Bart House
2018-12-25 10:09:04 -08:00
parent ab73df996f
commit b1ab64db43
45 changed files with 130 additions and 132 deletions
+2 -2
View File
@@ -348,10 +348,10 @@ MenuWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
return FALSE;
case WM_CLOSE:
if (program_state.gameover) {
if (g.program_state.gameover) {
data->result = -1;
data->done = 1;
program_state.stopprint++;
g.program_state.stopprint++;
return TRUE;
} else
return FALSE;