From a34084d590bbd0c46ca1509c17914d5865daaa81 Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 12 Dec 2021 16:53:57 +0900 Subject: games/omega: Fix inventory display crash and take maintainership PR: 259786 Reported by: Alex (new maintainer) Approved by: portmgr (blanket: bugfix, unmaintained port) MFH: 2021Q4 (cherry picked from commit dfc806ae70f1cd36860b6b90e4185d2198446f7a) --- games/omega/files/patch-inv.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'games/omega/files/patch-inv.c') 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 @@ -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; + } + -- cgit v1.2.3