]> granicus.if.org Git - nethack/commit
simplify streamlined act_on_act()
authorPatR <rankin@nethack.org>
Mon, 13 Jun 2022 18:30:59 +0000 (11:30 -0700)
committerPatR <rankin@nethack.org>
Mon, 13 Jun 2022 18:30:59 +0000 (11:30 -0700)
commitc4c6c3d73a3036433b7172192d5efc98bb6f53be
tree10517160b336e0c590371fd555bc876f2185dfd0
parent778eb2603de6b9c048fd0904d52e30cf663825e6
simplify streamlined act_on_act()

More PR #777:  there's no need for there_cmd_menu() to pass absolute
<x,y> instead of <dx,dy> for a couple of actions.  Those actions can
reconstruct <x,y> by adding <dx,dy> to <u.ux,u.uy>.
src/cmd.c