ref: 04e45448d447b1def481f0ed9e44a492543cb075
parent: d99994094a0ce1929af2f18adb3e26c683acdf78
parent: 5d9dcd0f8e6ace868f6198367c2b3319787d7db5
author: Fabien <[email protected]>
date: Fri May 1 21:19:13 EDT 2015
Merge pull request #30 from darealshinji/patch-2 Console: don't wait for key input on exits
--- a/Game/src/game.c
+++ b/Game/src/game.c
@@ -2474,7 +2474,7 @@
#if PLATFORM_DOS // Is there a good reason for this? --ryan.
printf("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n");
#else
- printf("\n%s",t);
+ printf("\n%s\n",t);
#endif
}
// CTW END - MODIFICATION
--- a/Game/src/global.c
+++ b/Game/src/global.c
@@ -518,10 +518,10 @@
vprintf(error, argptr);
va_end (argptr);
- printf("Press any key to continue...\n");
+ //printf("Press any key to continue...\n");
// FIX_00043: Nicer exit on error. Ask the user to hit a key on exits and error exits.
- getch();
+ //getch();
exit (errorType);
}