Package: bsdgames-nonfree
Version: 2.17-5
Severity: minor
Tags: patch
Dear Maintainer,
in the file rogue/move.c, the number of moves left (before having to eat
something) is never reduced
when using a Ring of Slow Digestion, instead of doubling the number of moves
left.
The code:
case -1:
rogue.moves_left -= (rogue.moves_left % 2);
break;
When rogue.moves_left is an even number, it is never decreased again.
System Information:
Debian Release: 7.2
APT prefers stable-updates
APT policy: (990, 'stable-updates'), (990, 'stable'), (550, 'testing'), (500,
'unstable')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages bsdgames-nonfree depends on:
ii libc6 2.17-93
ii libncurses5 5.9-10
ii libtinfo5 5.9-10
bsdgames-nonfree recommends no packages.
Versions of packages bsdgames-nonfree suggests:
ii bsdgames 2.17-21
-- no debconf information
425c425
< rogue.moves_left -= (rogue.moves_left % 2);
---
> rogue.moves_left -= (coin_toss() ? 1 : 0);