svn commit: r415066 - in head/games/bsdgames: . files
Adam Weinberger
adamw at FreeBSD.org
Thu May 12 14:54:21 UTC 2016
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);
+ }
+ }
+
More information about the svn-ports-head
mailing list