Rename getDir to promptDirection; rotate TODO (step 5 done)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user