When you have a polearm as secondary weapon, have a fireassist on, and press 'f' to fire, the code tries to swapweapon to the polearm. This failed badly and got stuck in a loop if you were also wearing a shield - as polearms are two-handed and shield prevents wielding those. Add a new "command failed" result, and clear the command queue in that case. Also make swapweapon and wield actually return the ECMD flags back to the rhack loop.
23 KiB
23 KiB