Remove unused function

This commit is contained in:
Gwilym Kuiper 2022-03-05 19:44:21 +00:00
parent 09f6736497
commit d97ceca647

View file

@ -181,13 +181,3 @@ impl<'a, T> Drop for MapLoan<'a, T> {
.set(self.background_id as usize, false);
}
}
fn div_ceil(x: i32, y: i32) -> i32 {
if x > 0 && y > 0 {
(x - 1) / y + 1
} else if x < 0 && y < 0 {
(x + 1) / y + 1
} else {
x / y
}
}