Date: Thu, 12 May 2016 14:54:19 +0000 (UTC) From: Adam Weinberger <adamw@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r415066 - in head/games/bsdgames: . files Message-ID: <201605121454.u4CEsJ0Y042040@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adamw Date: Thu May 12 14:54:19 2016 New Revision: 415066 URL: https://svnweb.freebsd.org/changeset/ports/415066 Log: Fix potion mixing. From PR: This routine is swapping the potion colors and because only 2/3 of the color swap code is there, many of the potions end up with the same color. PORTREVISION bump. PR: 209310 Submitted by: sjrbulk at verizon dot net Added: head/games/bsdgames/files/patch-rogue_inventory.c (contents, props changed) Modified: head/games/bsdgames/Makefile Modified: head/games/bsdgames/Makefile ============================================================================== --- head/games/bsdgames/Makefile Thu May 12 14:07:23 2016 (r415065) +++ head/games/bsdgames/Makefile Thu May 12 14:54:19 2016 (r415066) @@ -3,6 +3,7 @@ PORTNAME= bsdgames PORTVERSION= 4.4.2 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= games MASTER_SITES= LOCAL/adamw Added: head/games/bsdgames/files/patch-rogue_inventory.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/bsdgames/files/patch-rogue_inventory.c Thu May 12 14:54:19 2016 (r415066) @@ -0,0 +1,10 @@ +--- rogue/inventory.c.orig 2016-05-12 14:49:52 UTC ++++ rogue/inventory.c +@@ -417,6 +417,7 @@ mix_colors(void) + k = get_rand(0, (POTIONS - 1)); + memcpy(t, id_potions[j].title, MAX_ID_TITLE_LEN); + memcpy(id_potions[j].title, id_potions[k].title, MAX_ID_TITLE_LEN); ++ memcpy(id_potions[k].title, t, MAX_ID_TITLE_LEN); + } + } +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605121454.u4CEsJ0Y042040>