remove these assertions as they're not necessary

This commit is contained in:
Max Bradbury 2020-07-19 16:24:35 +01:00
parent 686a2a7f84
commit 657068df1a
1 changed files with 0 additions and 2 deletions

View File

@ -37,8 +37,6 @@ pub fn add_tiles(game_data: String, image: String, prefix: String) -> String {
let width = image.width(); let width = image.width();
let height = image.height(); let height = image.height();
assert_eq!(width % 8, 0);
assert_eq!(height % 8, 0);
let columns = (width as f64 / 8.).floor() as u32; let columns = (width as f64 / 8.).floor() as u32;
let rows = (height as f64 / 8.).floor() as u32; let rows = (height as f64 / 8.).floor() as u32;