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:
3e039d8
)
not critical now
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 23 Aug 2020 22:00:23 +0000
(23:00 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 23 Aug 2020 22:00:23 +0000
(23:00 +0100)
src/gamestate.rs
patch
|
blob
|
history
diff --git
a/src/gamestate.rs
b/src/gamestate.rs
index 178c4381b8dd3e7d0168191b17b7de0a74269aa0..697a328e59c45de391e4ae25ee776c49f8d6cde2 100644
(file)
--- a/
src/gamestate.rs
+++ b/
src/gamestate.rs
@@
-188,7
+188,7
@@
impl PieceState {
// ========== ad-hoc and temporary ==========
pub fn make_pieceid_visible(p : PieceId) -> VisiblePieceId {
- //
xxx
need to do censorship mapping here
+ //
todo-lens
need to do censorship mapping here
let kd : slotmap::KeyData = p.into();
VisiblePieceId(kd)
}