chiark / gitweb /
Note a todo
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 21 Feb 2021 11:50:50 +0000 (11:50 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 21 Feb 2021 11:51:32 +0000 (11:51 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/gamestate.rs

index 6fc0cb310a91e3946469b7257db75f083f418bf0..e1e75f90ff846b78102a15c700b7500fd36bb877 100644 (file)
@@ -139,6 +139,8 @@ pub struct UoDescription {
 #[typetag::serde]
 pub trait Piece: Outline + Send + Debug {
   /// by convention, occult face is nfaces-1
+  // xxx this is no good, we need a central definition of the occult
+  // face to avoid weird behaviour with buggy gamespecs
   fn nfaces(&self) -> RawFaceId;
 
   #[throws(InternalError)]