mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
remove variation debugging output
This commit is contained in:
parent
4b7f3d07d2
commit
dd8850770e
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user