chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
619606d
)
hand: Remove a wrong todo comment
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 20 Mar 2021 22:31:31 +0000
(22:31 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 20 Mar 2021 22:31:31 +0000
(22:31 +0000)
We don't need PUU::RecalculateOccultations. This is done by create_
and remove_occultation. This is just as well as a PUO would be
horrible.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/hand.rs
patch
|
blob
|
history
diff --git
a/src/hand.rs
b/src/hand.rs
index 94d7470d0481009106682680c1b2eecec06f8a71..af6d663ab0ed2e88a1e37f62f416a6df26637fd5 100644
(file)
--- a/
src/hand.rs
+++ b/
src/hand.rs
@@
-238,8
+238,7
@@
impl PieceTrait for Hand {
(PieceUpdate {
wrc, log,
- ops: PUOs::Simple(PUO::Modify(())), // xxx
- // xxx want PUU::RecalculateOccultations
+ ops: PUOs::Simple(PUO::Modify(())),
}, xupdates, None)
}
}