]> granicus.if.org Git - nethack/commit
Generalize cmdassist direction help
authornethack.allison <nethack.allison>
Sun, 4 Aug 2002 22:14:02 +0000 (22:14 +0000)
committernethack.allison <nethack.allison>
Sun, 4 Aug 2002 22:14:02 +0000 (22:14 +0000)
commit4fd1cc98a9eb5a381011ecfdbb2760fb7d66575c
tree52e38da9e94317b1fc5ecd8adcb0369a4b7661fb
parent8631cba725f8e5342467e20377119204646d2163
Generalize cmdassist direction help
to work with any call to getdir().
When cmdassist is set, instead of the
message:
"What a strange direction!"
you get a screen of help showing the valid direction keys.

!cmdassist will suppress the extra help information.
src/cmd.c