changeset 15828 | 44b49f255e31 |
parent 15759 | c929e25a7da2 |
child 16084 | 36862a9ec59b |
--- a/rust/lib-hedgewars-engine/src/render/atlas.rs Tue Jan 25 23:46:11 2022 +0300 +++ b/rust/lib-hedgewars-engine/src/render/atlas.rs Thu Jan 27 03:51:13 2022 +0300 @@ -14,8 +14,8 @@ impl Fit { fn new() -> Self { Self { - short_side: u32::max_value(), - long_side: u32::max_value(), + short_side: u32::MAX, + long_side: u32::MAX, } }