Rename getDir to promptDirection; rotate TODO (step 5 done)

This commit is contained in:
2026-07-07 02:34:32 +02:00
parent ae79fd5e84
commit f432c8718c
3 changed files with 30 additions and 28 deletions

View File

@@ -406,9 +406,9 @@ func (g *RogueGame) isCurrent(obj *Object) bool {
return false
}
// getDir sets up the direction coordinate for use in various "prefix"
// commands (misc.c get_dir).
func (g *RogueGame) getDir() bool {
// promptDirection sets up the direction coordinate for use in various
// "prefix" commands (misc.c get_dir).
func (g *RogueGame) promptDirection() bool {
if g.Again && g.LastDir != 0 {
g.Delta = g.lastDelt
g.DirCh = g.LastDir