home
·
contact
·
privacy
projects
/
plomrogue2
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67e907b
)
Make windows block sound.
author
Christian Heller
<c.heller@plomlompom.de>
Tue, 1 Dec 2020 03:21:00 +0000
(
04:21
+0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Tue, 1 Dec 2020 03:21:00 +0000
(
04:21
+0100)
plomrogue/mapping.py
patch
|
blob
|
history
diff --git
a/plomrogue/mapping.py
b/plomrogue/mapping.py
index 6708b1bb34eadaa7f92f12fbbe25bf243a22d72a..d1fc9fb91457f6358698f855070e1c259ae88e62 100644
(file)
--- a/
plomrogue/mapping.py
+++ b/
plomrogue/mapping.py
@@
-264,7
+264,7
@@
class DijkstraMap(SourcedMap):
while shrunk:
shrunk = False
for i in range(self.size_i):
- if self.source_map_segment[i]
== 'X
':
+ if self.source_map_segment[i]
in 'X=
':
continue
neighbors = self.geometry.get_neighbors_i(i)
for direction in [d for d in neighbors if neighbors[d]]: