fix supid viewport bug

This commit is contained in:
2019-11-01 19:59:12 +03:00
parent 529f5a5749
commit 17ef52a5cf
5 changed files with 29 additions and 14 deletions

View File

@ -42,7 +42,7 @@ func (ts *GameScreen) HandleInput(input string) {
ts.state.Player.Walk(-1, 1)
break
case "n", "3":
ts.state.Player.Walk(-1, 3)
ts.state.Player.Walk(1, 1)
break
default:
ts.mw.GetLayer("base").ClearArea(0, 3, 40, 1)