From: Ian Jackson Date: Fri, 15 Apr 2022 17:43:31 +0000 (+0100) Subject: dice: Make moveable X-Git-Tag: otter-1.1.0~565 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=02a7c8652688e09fca815747ecc8a976b7ddd22f;p=otter.git dice: Make moveable Don't bake into the piece implementation that these aren't moveable. If this is desired, it can be part of the game spec. Signed-off-by: Ian Jackson --- diff --git a/src/dice.rs b/src/dice.rs index 26703512..f5b92e6a 100644 --- a/src/dice.rs +++ b/src/dice.rs @@ -83,7 +83,6 @@ impl PieceSpec for Spec { #[throws(SpecError)] fn load(&self, _: usize, gpc: &mut GPiece, ig: &Instance, depth: SpecDepth) -> PieceSpecLoaded { - gpc.moveable = PieceMoveable::IfWresting; gpc.rotateable = false; let SpecLoaded { p: image, occultable: img_occultable } =