From 16efb23220f26a389576fb52ce964094490b4a98 Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Sun, 31 Jan 2016 23:32:52 +0100 Subject: disable annoying autopickup --- nethack.patch | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/nethack.patch b/nethack.patch index 68359a1..37b5912 100644 --- a/nethack.patch +++ b/nethack.patch @@ -149,6 +149,15 @@ diff --git a/src/options.c b/src/options.c index 87c4004..1f0c385 100644 --- a/src/options.c +++ b/src/options.c +@@ -77,7 +77,7 @@ static struct Bool_Opt { + #endif + { "autodig", &flags.autodig, FALSE, SET_IN_GAME }, + { "autoopen", &flags.autoopen, TRUE, SET_IN_GAME }, +- { "autopickup", &flags.pickup, TRUE, SET_IN_GAME }, ++ { "autopickup", &flags.pickup, FALSE, SET_IN_GAME }, + { "autoquiver", &flags.autoquiver, FALSE, SET_IN_GAME }, + #if defined(MICRO) && !defined(AMIGA) + { "BIOS", &iflags.BIOS, FALSE, SET_IN_FILE }, @@ -101,7 +101,7 @@ static struct Bool_Opt { #if defined(MICRO) || defined(WIN32) { "color", &iflags.wc_color, TRUE, SET_IN_GAME }, /*WC*/ @@ -180,7 +189,7 @@ diff --git a/sys/unix/Makefile.src b/sys/unix/Makefile.src index 16d0874..8f5626a 100644 --- a/sys/unix/Makefile.src +++ b/sys/unix/Makefile.src -@@ -222,8 +235,8 @@ WINBEOBJ = +@@ -222,8 +222,8 @@ WINBEOBJ = # # @@ -191,7 +200,7 @@ index 16d0874..8f5626a 100644 # on some systems the termcap library is in -ltermcap or -lcurses # on 386 Xenix, the -ltermlib tputs() seems not to work; use -lcurses instead -@@ -238,7 +251,7 @@ WINBEOBJ = +@@ -238,7 +238,7 @@ WINBEOBJ = # WINTTYLIB = -ltermcap # WINTTYLIB = -lcurses # WINTTYLIB = -lcurses16 @@ -200,7 +209,7 @@ index 16d0874..8f5626a 100644 #WINTTYLIB = -ltermlib # # libraries for X11 -@@ -263,7 +276,7 @@ WINGEMLIB = -le_gem -lgem +@@ -263,7 +263,7 @@ WINGEMLIB = -le_gem -lgem # libraries for BeOS WINBELIB = -lbe -- cgit v1.2.3