home
·
contact
·
privacy
projects
/
plomrogue2-experiments
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improve MapFovHex comments, variable names, ideas; add MapFovSquare.
[plomrogue2-experiments]
/
client.py
diff --git
a/client.py
b/client.py
index db525ad739741efde4943daba6f2bd49f3c25149..e02de21017dad347c5e9017bced5451db242cf18 100755
(executable)
--- a/
client.py
+++ b/
client.py
@@
-14,7
+14,7
@@
class MapSquare(game_common.Map):
map_lines = []
start_cut = 0
while start_cut < len(terrain):
- limit = start_cut + self.
game.world.map_.
size[1]
+ limit = start_cut + self.size[1]
map_lines += [terrain[start_cut:limit]]
start_cut = limit
return "\n".join(map_lines)