diff options
author | Alex <r7st.guru@gmail.com> | 2021-12-12 07:53:57 +0000 |
---|---|---|
committer | Hiroki Tagato <tagattie@FreeBSD.org> | 2021-12-12 07:57:45 +0000 |
commit | a34084d590bbd0c46ca1509c17914d5865daaa81 (patch) | |
tree | 3102d5f022419084812021c9d2443d7cde0f7746 /games/omega/files | |
parent | 21dc151c4e27b395a4a3832c5a0c5ef2b3d23eeb (diff) | |
download | ports-a34084d590bbd0c46ca1509c17914d5865daaa81.tar.gz ports-a34084d590bbd0c46ca1509c17914d5865daaa81.zip |
games/omega: Fix inventory display crash and take maintainership
PR: 259786
Reported by: Alex <r7st.guru@gmail.com> (new maintainer)
Approved by: portmgr (blanket: bugfix, unmaintained port)
MFH: 2021Q4
(cherry picked from commit dfc806ae70f1cd36860b6b90e4185d2198446f7a)
Diffstat (limited to 'games/omega/files')
-rw-r--r-- | games/omega/files/patch-inv.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/games/omega/files/patch-inv.c b/games/omega/files/patch-inv.c index 932cae631cd6..8403f5f9a264 100644 --- a/games/omega/files/patch-inv.c +++ b/games/omega/files/patch-inv.c @@ -1,5 +1,5 @@ ---- inv.c Fri Jan 1 03:08:33 1999 -+++ /home/andy/tmp/wrk/inv.c Fri May 14 20:28:52 1999 +--- inv.c.orig 2021-11-11 18:12:35.355855000 -0500 ++++ inv.c 2021-11-11 18:13:11.096005000 -0500 @@ -8,7 +8,11 @@ # ifdef AMIGA # include <curses210.h> @@ -13,3 +13,13 @@ # endif #endif +@@ -840,8 +844,7 @@ + use_pack_item(response - 'a',slot); + } + } +- if ( optionp(TOPINV) ) +- display_possessions(); ++ display_possessions(); + return slot; + } + |