home
·
contact
·
privacy
projects
/
plomrogue2-experiments
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8d7f49f
)
Fix map indentation handling bug in client cursor movement.
author
Christian Heller
<c.heller@plomlompom.de>
Wed, 1 May 2019 00:58:27 +0000
(
02:58
+0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Wed, 1 May 2019 00:58:27 +0000
(
02:58
+0200)
new/example_client.py
patch
|
blob
|
history
diff --git
a/new/example_client.py
b/new/example_client.py
index 88939ba4d9fe026584fbaff0206dcec14e5f4a9d..27960057766110908af16a304b7b91d2a63dd256 100755
(executable)
--- a/
new/example_client.py
+++ b/
new/example_client.py
@@
-554,7
+554,8
@@
class TUI:
def move_examiner(direction):
start_pos = self.examiner_position
new_examine_pos = self.game.map_geometry.move(start_pos, direction,
- self.game.map_.size)
+ self.game.map_.size,
+ self.game.map_.start_indented)
if new_examine_pos[0] == (0,0):
self.examiner_position = new_examine_pos
self.to_update['map'] = True