diff options
Diffstat (limited to 'model/src')
| -rw-r--r-- | model/src/coordinates.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/model/src/coordinates.rs b/model/src/coordinates.rs index 34dcdcf..a055f46 100644 --- a/model/src/coordinates.rs +++ b/model/src/coordinates.rs @@ -72,7 +72,7 @@ impl SquareCoordinate { 7 => 1, _ => unreachable!(), }; - let row_value = match self.file { + let row_value = match self.rank { 1 => 0, 3 => 8, 5 => 16, |
