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:
08ec453
)
Remove redundant SourcedMap center neutralization.
author
Christian Heller
<c.heller@plomlompom.de>
Mon, 14 Dec 2020 20:44:35 +0000
(21:44 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Mon, 14 Dec 2020 20:44:35 +0000
(21:44 +0100)
plomrogue/mapping.py
patch
|
blob
|
history
diff --git
a/plomrogue/mapping.py
b/plomrogue/mapping.py
index d3baba67527e1f83f4d548071c2033eb86c27d85..7b7ad3c6680e56b0901c40e1ca6ba13c2d9781d1 100644
(file)
--- a/
plomrogue/mapping.py
+++ b/
plomrogue/mapping.py
@@
-220,8
+220,6
@@
class SourcedMap(Map):
self.source_geometry.define_segment(source_center, radius)
self.geometry = self.source_geometry.__class__(size)
self.source_map_segment = ''
- if source_center in obstacle_positions:
- obstacle_positions.remove(source_center)
for yx in self:
big_yx, little_yx = self.source_yxyx(yx)
get_map(big_yx)