mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Code quality fix
This commit is contained in:
parent
1301761445
commit
0d4fc62468
@ -131,7 +131,7 @@ impl Structure for GiantTree {
|
||||
(branch_direction * branch.get_leaf_radius()).map(|e| e.round() as i32);
|
||||
let pos = self.wpos + branch_end.as_() + displacement;
|
||||
if rand::thread_rng().gen_range(0..100) < 7 {
|
||||
painter.sprite(pos.map(|e| e as i32), SpriteKind::Ironwood);
|
||||
painter.sprite(pos.map(|e| e), SpriteKind::Ironwood);
|
||||
}
|
||||
}
|
||||
true
|
||||
|
Loading…
Reference in New Issue
Block a user