summaryrefslogtreecommitdiff
path: root/src/main-win.c
diff options
context:
space:
mode:
authorManoj Srivastava <srivasta@debian.org>2020-05-23 00:33:19 -0700
committerManoj Srivastava <srivasta@debian.org>2020-05-23 00:33:19 -0700
commitd6b913d3ca2e84b75f3675fd6e9f5246c100cf27 (patch)
tree5fc28b7efc737bf2c79dc7d799e0a6013957fe11 /src/main-win.c
parentc42f029316c0c004a795ca170bdb50644a800534 (diff)
parent73a0259be1d44fdb2ab34266ae0ff63f0d8f0b60 (diff)
Merge branch 'master' into dgit/siddebian/2.4.0-ah-1archive/debian/2.4.0-ah-1
Diffstat (limited to 'src/main-win.c')
-rw-r--r--src/main-win.c16
1 files changed, 4 insertions, 12 deletions
diff --git a/src/main-win.c b/src/main-win.c
index a2daffbe..54336a37 100644
--- a/src/main-win.c
+++ b/src/main-win.c
@@ -74,9 +74,6 @@
#include "util.h"
#include "variable.h"
-#ifdef WINDOWS
-
-
/*
* Extract the "WIN32" flag from the compiler
*/
@@ -2066,7 +2063,7 @@ static void check_for_save_file(LPSTR cmd_line)
game_in_progress = TRUE;
/* Play game */
- play_game(FALSE);
+ play_game();
}
@@ -2099,7 +2096,7 @@ static void process_menus(WORD wCmd)
{
game_in_progress = TRUE;
Term_flush();
- play_game(TRUE);
+ play_game();
quit(NULL);
}
break;
@@ -2138,7 +2135,7 @@ ofn.lStructSize = sizeof(OPENFILENAME);
validate_file(savefile);
game_in_progress = TRUE;
Term_flush();
- play_game(FALSE);
+ play_game();
quit(NULL);
}
}
@@ -3326,7 +3323,7 @@ int FAR PASCAL WinMain(HINSTANCE hInst, HINSTANCE hPrevInst,
check_for_save_file(lpCmdLine);
game_in_progress = TRUE;
- play_game(FALSE);
+ play_game();
/* Prompt the user */
Term_fresh();
@@ -3349,8 +3346,3 @@ int FAR PASCAL WinMain(HINSTANCE hInst, HINSTANCE hPrevInst,
/* Paranoia */
return (0);
}
-
-
-#endif /* WINDOWS */
-
-