mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-16 20:35:02 +01:00
Another assertion
This commit is contained in:
parent
c93e2b7ed8
commit
04d5b661c3
1 changed files with 1 additions and 1 deletions
|
|
@ -30,8 +30,8 @@ pub(super) fn save_chunk(pos: &ChunkPos, chk: &Chunk) {
|
||||||
ExistenceBitset::EMPTY
|
ExistenceBitset::EMPTY
|
||||||
};
|
};
|
||||||
dbg!(existence_bitset);
|
dbg!(existence_bitset);
|
||||||
let _ = dbg!(f.stream_position());
|
|
||||||
let mut region_tile_data = if reg_file_exists {
|
let mut region_tile_data = if reg_file_exists {
|
||||||
|
assert_eq!(f.stream_position().unwrap(), 8);
|
||||||
zstd::decode_all(&mut f).unwrap()
|
zstd::decode_all(&mut f).unwrap()
|
||||||
} else {
|
} else {
|
||||||
vec![0; REGION_BYTES]
|
vec![0; REGION_BYTES]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue