Created
April 12, 2011 03:16
-
-
Save tung/914851 to your computer and use it in GitHub Desktop.
NetHack patch to fix the DECgraphics file option not working due to my own over-patching.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -U 3 -r nethack-3.4.3-pre-defername/sys/unix/unixmain.c nethack-3.4.3/sys/unix/unixmain.c | |
--- nethack-3.4.3-pre-defername/sys/unix/unixmain.c 2011-04-09 15:33:59.000000000 +1000 | |
+++ nethack-3.4.3/sys/unix/unixmain.c 2011-04-11 00:39:42.000000000 +1000 | |
@@ -160,6 +160,12 @@ | |
#endif | |
/* | |
+ * Set DECgraphics again in case option loading didn't set it. | |
+ */ | |
+ if(iflags.DECgraphics) | |
+ switch_graphics(DEC_GRAPHICS); | |
+ | |
+ /* | |
* It seems you really want to play. | |
*/ | |
u.uhp = 1; /* prevent RIP on early quits */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment