We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66ba4c9 commit efc3018Copy full SHA for efc3018
src/lib/world/src/chunk_format.rs
@@ -99,7 +99,7 @@ impl Heightmaps {
99
let start = (index * bits_per_value) / 64;
100
let offset = (index * bits_per_value) % 64;
101
let value = self.motion_blocking[start] >> offset;
102
- ((value & ((1 << bits_per_value) - 1)) as i64) - 64
+ ((value & ((1 << bits_per_value) - 1))) - 64
103
}
104
105
0 commit comments