remove variation debugging output

This commit is contained in:
Christof Petig 2023-12-16 12:11:12 +01:00
parent 4b7f3d07d2
commit dd8850770e

View File

@ -282,9 +282,6 @@ pub fn get_sprite_instances<'a, I: 'a>(
4 => (((seed.overflowing_add(wpos.x as u64).0) as usize % 7) + 1) / 2, 4 => (((seed.overflowing_add(wpos.x as u64).0) as usize % 7) + 1) / 2,
_ => seed as usize % cfg.variations.len(), _ => seed as usize % cfg.variations.len(),
}; };
if sprite == SpriteKind::ChristmasOrnament {
println!("{sprite:?} {variation} {wpos:?} {seed}");
}
let key = (sprite, variation); let key = (sprite, variation);
// NOTE: Safe because we called sprite_config_for already. // NOTE: Safe because we called sprite_config_for already.