]> granicus.if.org Git - nethack/commit
fix scroll of charging
authorPatR <rankin@nethack.org>
Fri, 6 Nov 2015 02:39:02 +0000 (18:39 -0800)
committerPatR <rankin@nethack.org>
Fri, 6 Nov 2015 02:39:02 +0000 (18:39 -0800)
commit102e427ca740a4db97b6fc68e4cd2b4edee5e574
treecfed1024ca99f28b14b522f4cce1f2167fc38403
parent8f3d91785dd995c4d7462c2014cfb89f5e5625ab
fix scroll of charging

The intended change was that you'd get an increase to max energy if
current was sufficiently close to max rather than only when it was
already at max.  It wasn't intended that you'd fail to have current
boosted all the way to max in the case where it wasn't sufficiently
close.  That's fixed here.
src/read.c